diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ab7659dd..129122c2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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 @@ -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