chore(deps-dev): bump ty from 0.0.26 to 0.0.29 (#272) #535
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
| # This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
| name: Test with python versions | |
| on: | |
| push: | |
| branches: [ "main"] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| os: [ubuntu-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv and set the python version | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| enable-cache: true | |
| - name: Set up Python | |
| run: uv python install | |
| - name: Create virtual environment | |
| run: uv venv | |
| - name: install package | |
| run: uv pip install .[all] | |
| - name: Test with pytest (Ubuntu) | |
| if: startsWith(matrix.os, 'ubuntu') | |
| run: | | |
| xvfb-run -s "-screen 0 1024x768x24" uv run pytest --cov . --cov-report=xml --cov-report=html | |
| - name: Test with pytest (macOS) | |
| if: startsWith(matrix.os, 'macos') | |
| env: | |
| MPLBACKEND: Agg | |
| run: | | |
| uv run pytest --cov . --cov-report=xml --cov-report=html | |
| - name: Upload coverage information | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| fail_ci_if_error: true # optional (default = false) | |
| name: codecov-umbrella # optional | |
| files: ./coverage.xml | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| verbose: true # optional (default = false) |