Update dependency uv_build to >=0.11.32,<0.12.0 #146
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: Tests | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| SKIP_COVERAGE_UPLOAD: false | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Set up Python 3.7 (legacy) | |
| if: matrix.python-version == '3.7' | |
| run: uvx uv@0.6.17 python install 3.7 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| if: matrix.python-version != '3.7' | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Run tests | |
| # For example, using `pytest` | |
| run: uv run -p ${{ matrix.python-version }} pytest --cov-report=xml | |
| - name: Run codacy-coverage-reporter | |
| env: | |
| CODACY_CONFIGURED: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
| if: ${{ env.CODACY_CONFIGURED != ''}} | |
| uses: codacy/codacy-coverage-reporter-action@v1 | |
| continue-on-error: true | |
| with: | |
| project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
| coverage-reports: ./coverage.xml |