diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0c683fc7..d290600a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,11 +5,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12-dev'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] # https://numpy.org/neps/nep-0029-deprecation_policy.html numpy-version: ['1.22', 'latest', 'dev'] exclude: - - python-version: '3.12-dev' + - python-version: '3.12' numpy-version: '1.22' fail-fast: false steps: @@ -29,6 +29,10 @@ jobs: else python -m pip install --upgrade numpy==${{ matrix.numpy-version }}.* fi + # 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 - name: Run Tests run: | set -x