Bump pytest from 8.3.5 to 9.0.3 #124
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| schedule: | |
| - cron: "13 7 * * 1" # weekly canary | |
| jobs: | |
| tests: | |
| name: tests (${{ matrix.os }}, py${{ matrix.python }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-24.04, macos-15] | |
| python: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| cache: pip | |
| cache-dependency-path: | | |
| pyproject.toml | |
| requirements*.txt | |
| - name: Show Python | |
| run: python -V && pip -V | |
| - name: Install package + test deps | |
| run: | | |
| python -m pip install -U pip | |
| # If you have extras, switch to: pip install -e ".[test]" | |
| python -m pip install -e . | |
| python -m pip install pytest pytest-cov | |
| - name: Run tests | |
| run: | | |
| pytest -q --disable-warnings --maxfail=1 | |
| # Canary for next CPython (marked non-blocking) | |
| py314: | |
| name: canary (ubuntu-24.04, py3.13) | |
| runs-on: ubuntu-24.04 | |
| continue-on-error: true | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| cache: pip | |
| cache-dependency-path: pyproject.toml | |
| - run: | | |
| python -m pip install -U pip | |
| python -m pip install -e . | |
| python -m pip install pytest | |
| - run: pytest -q |