Skip to content

Commit

Permalink
Only set COVERAGE_CORE in Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Feb 12, 2024
1 parent d9f1f9b commit 1c37b1d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
numpy-version: '1.22'
fail-fast: false
env:
COVERAGE_CORE: sysmon # Enable experimental faster sys.monitoring coverage for Python 3.12
COVERAGE_CORE: sysmon #
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand All @@ -31,6 +31,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
Expand Down

0 comments on commit 1c37b1d

Please sign in to comment.