Skip to content

Commit 71b62ca

Browse files
committed
Run PyPy tests under coverage
1 parent 4e955b9 commit 71b62ca

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,11 @@ jobs:
6767
allow-prereleases: true
6868

6969
- name: Install coverage
70-
if: ${{ !startsWith(matrix.python-version, 'pypy') }}
7170
run: |
7271
# Be wary that this does not install typing_extensions in the future
7372
pip install coverage
7473
7574
- name: Test typing_extensions with coverage
76-
if: ${{ !startsWith(matrix.python-version, 'pypy') }}
7775
run: |
7876
# Be wary of running `pip install` here, since it becomes easy for us to
7977
# accidentally pick up typing_extensions as installed by a dependency
@@ -82,18 +80,9 @@ jobs:
8280
# Run tests under coverage
8381
export COVERAGE_FILE=.coverage_${{ matrix.python-version }}
8482
python -m coverage run -m unittest test_typing_extensions.py
85-
- name: Test typing_extensions no coverage on pypy
86-
if: ${{ startsWith(matrix.python-version, 'pypy') }}
87-
run: |
88-
# Be wary of running `pip install` here, since it becomes easy for us to
89-
# accidentally pick up typing_extensions as installed by a dependency
90-
cd src
91-
python --version # just to make sure we're running the right one
92-
python -m unittest test_typing_extensions.py
9383
9484
- name: Archive code coverage results
9585
id: archive-coverage
96-
if: ${{ !startsWith(matrix.python-version, 'pypy') }}
9786
uses: actions/upload-artifact@v4
9887
with:
9988
name: .coverage_${{ matrix.python-version }}

0 commit comments

Comments
 (0)