Skip to content

Commit

Permalink
bump CI Python version range to from 3.8-3.11 to 3.9-3.12 (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo authored Oct 19, 2024
1 parent 3bc92c9 commit ad0075d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tests+pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, macos-12, macos-14, windows-latest]
python-version: ["3.8", "3.11", "system"]
python-version: ["3.9", "3.12", "system"]
exclude:
- platform: ubuntu-latest
python-version: system
Expand All @@ -130,9 +130,9 @@ jobs:
- platform: windows-latest
python-version: system
- platform: macos-14
python-version: "3.8"
python-version: "3.9"
- platform: macos-14
python-version: "3.11"
python-version: "3.12"
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, macos-12, macos-14, windows-latest]
python-version: ["3.8", "3.11"]
python-version: ["3.9", "3.12"]
exclude:
- platform: ubuntu-latest
python-version: system
Expand All @@ -186,9 +186,9 @@ jobs:
- platform: windows-latest
python-version: system
- platform: macos-14
python-version: "3.8"
python-version: "3.9"
- platform: macos-14
python-version: "3.11"
python-version: "3.12"
fail-fast: false
runs-on: ${{ matrix.platform }}
steps:
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
NUMBA_OPT: 1
run: python -m pytest --durations=10 -p no:unraisableexception -We tests/devops_tests/test_notebooks.py

- if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11'}}
- if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.12'}}
run: |
mkdir -p /home/runner/work/_temp/_github_home/figures
rm /tmp/pytest-of-runner/pytest-current/test_run_notebooks_examples_Pycurrent
Expand All @@ -244,7 +244,7 @@ jobs:
# with:
# limit-access-to-actor: true

- if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11'}}
- if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.12'}}
uses: eine/tip@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit ad0075d

Please sign in to comment.