Skip to content

Commit

Permalink
Merge pull request #193 from asmeurer/3.13
Browse files Browse the repository at this point in the history
Test Python 3.13 on CI
  • Loading branch information
asmeurer authored Sep 26, 2024
2 parents 33100bc + faca8af commit a61d224
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13-dev']
# https://numpy.org/neps/nep-0029-deprecation_policy.html
numpy-version: ['1.22', 'latest', 'dev']
exclude:
- python-version: '3.12'
numpy-version: '1.22'
- python-version: '3.13-dev'
numpy-version: '1.22'
fail-fast: false
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -39,10 +41,10 @@ jobs:
# will work with Cython, or trace coverage will be faster again.
- name: Set CYTHON_COVERAGE=1
run: echo "CYTHON_COVERAGE=1" >> $GITHUB_ENV
if: matrix.python-version != 3.12
if: matrix.python-version != '3.12' && matrix.python-version != '3.13-dev'
- name: Disable Coverage Plugin
run: sed -i '/plugins = Cython.Coverage/d' .coveragerc
if: matrix.python-version == 3.12
if: matrix.python-version == '3.12' || matrix.python-version == '3.13-dev'
- name: In-place build
run: |
python setup.py clean
Expand All @@ -60,7 +62,7 @@ jobs:
# Enable experimental faster sys.monitoring coverage for Python 3.12
- name: Set COVERAGE_CORE=sysmon
run: echo "COVERAGE_CORE=sysmon" >> $GITHUB_ENV
if: matrix.python-version == 3.12
if: matrix.python-version == '3.12' || matrix.python-version == '3.13-dev'
- name: Run Tests
run: |
set -x
Expand Down

0 comments on commit a61d224

Please sign in to comment.