Test #737
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 | |
| on: | |
| pull_request: | |
| push: | |
| schedule: | |
| - cron: '0 0 */7 * *' | |
| env: | |
| FORCE_COLOR: 1 | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| # run all supported python versions on ubuntu-latest | |
| - python-version: "3.9" | |
| os: ubuntu-latest | |
| - python-version: "3.10" | |
| os: ubuntu-latest | |
| - python-version: "3.11" | |
| os: ubuntu-latest | |
| - python-version: "3.12" | |
| os: ubuntu-latest | |
| - python-version: "3.13" | |
| os: ubuntu-latest | |
| - python-version: "3.14" | |
| os: ubuntu-latest | |
| # run main python version across all OSes | |
| - python-version: "3.12" | |
| os: macOS-latest | |
| - python-version: "3.12" | |
| os: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| allow-prereleases: true | |
| cache: pip | |
| cache-dependency-path: pyproject.toml | |
| - name: Install dependencies | |
| run: pip install -e .[dev] | |
| - name: Run tests | |
| run: pytest test |