chore(deps): update dependency ruby to v4 #2508
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test-python | |
| defaults: | |
| run: | |
| working-directory: python | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - renovate/** | |
| paths: | |
| - python/** | |
| - testdata/** | |
| - .github/** | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - python/** | |
| - testdata/** | |
| - .github/** | |
| workflow_call: | |
| jobs: | |
| test-python: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.13" | |
| - "3.12" | |
| - "3.11" | |
| - "3.10" | |
| - "3.9" | |
| defaults: | |
| run: | |
| working-directory: python | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - name: Install uv and set the python version | |
| uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7 | |
| with: | |
| enable-cache: true | |
| python-version: ${{ matrix.python-version }} | |
| version: "0.9.26" | |
| - name: Lint code | |
| run: uv run pre-commit run --all-files | |
| - name: Run tests | |
| run: uv run --no-editable coverage run -m pytest | |
| - name: Run acceptance tests | |
| run: make acceptance | |
| - name: Build package | |
| run: uv build |