Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Oct 9, 2024
1 parent f3269c7 commit 240d457
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,33 @@ jobs:
# version number must be string, otherwise 3.10 becomes 3.1
- os: windows-latest
python-version: "3.11"
- os: macos-13
installs: "numpy>=2"
- os: macos-14
python-version: "3.9"
installs: "numpy==1.21.0"
- os: ubuntu-latest
python-version: "pypy-3.9"
- os: ubuntu-latest
python-version: "3.13"
installs: "'numpy>=2' scipy matplotlib"
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 3
# must come after checkout
- uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.python-version }}
- uses: actions/setup-python@v4
- uses: astral-sh/setup-uv@v3
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install --upgrade pip
- run: python -m pip install --prefer-binary -v .[test]
env:
DEBUG: 1
allow-prereleases: true
- uses: ts-graphviz/setup-graphviz@v1
if: ${{ matrix.os != 'macos-13' }}
- run: python -m pytest
- run: uv pip install --system .[test] pytest pytest-xdist ${{ matrix.installs }}
env:
DEBUG: 1
- run: python -m pytest -n 3

0 comments on commit 240d457

Please sign in to comment.