Skip to content

Commit 42d81b8

Browse files
committed
ci: Stop explicitly excluding Python 2.7 tests
We're already running only the tests relevant to one Python version at a time (using `PYTHON_TEST_VERSION`), so this attempt to avoid running tests that exercise Python 2.7 is both unnecessary and excludes some tests that really ought to be run, because they're unit testing things like regular expressions that don't depend on a Python 2.7 interpreter. Signed-off-by: Matt Wozniski <[email protected]>
1 parent 4487a94 commit 42d81b8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build_wheels.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
- name: Run pytest
153153
env:
154154
PYTHON_TEST_VERSION: "auto"
155-
run: python${{matrix.python_version}} -m pytest tests -k 'not 2.7' -n auto -vvv
155+
run: python${{matrix.python_version}} -m pytest tests -n auto -vvv
156156

157157
test_aarch64_wheels:
158158
needs: [build_wheels]
@@ -190,7 +190,7 @@ jobs:
190190
- name: Run pytest
191191
env:
192192
PYTHON_TEST_VERSION: "auto"
193-
run: python${{matrix.python_version}} -m pytest tests -k 'not 2.7' -n auto -vvv
193+
run: python${{matrix.python_version}} -m pytest tests -n auto -vvv
194194

195195
test_free_threading:
196196
needs: [build_wheels]
@@ -233,7 +233,7 @@ jobs:
233233
- name: Run pytest
234234
env:
235235
PYTHON_TEST_VERSION: "${{matrix.python_version}}t"
236-
run: python${{matrix.python_version}} -m pytest tests -k 'not 2.7' -n auto -vvv
236+
run: python${{matrix.python_version}} -m pytest tests -n auto -vvv
237237

238238
test_in_alpine:
239239
needs: [build_wheels]
@@ -263,7 +263,7 @@ jobs:
263263
- name: Run pytest
264264
env:
265265
PYTHON_TEST_VERSION: "auto"
266-
run: venv/bin/python3 -m pytest tests -k 'not 2.7' -n auto -vvv
266+
run: venv/bin/python3 -m pytest tests -n auto -vvv
267267

268268
test_wheels_in_fedora:
269269
needs: [build_wheels]
@@ -299,7 +299,7 @@ jobs:
299299
- name: Run pytest
300300
env:
301301
PYTHON_TEST_VERSION: "auto"
302-
run: python3 -m pytest tests -k 'not 2.7' -n auto -vvv
302+
run: python3 -m pytest tests -n auto -vvv
303303

304304
test_wheels_in_arch:
305305
needs: [build_wheels]
@@ -338,7 +338,7 @@ jobs:
338338
env:
339339
PYTHON_TEST_VERSION: "auto"
340340
DEBUGINFOD_URLS: "https://debuginfod.archlinux.org"
341-
run: venv/bin/python -m pytest tests -k 'not 2.7' -n auto -vvv
341+
run: venv/bin/python -m pytest tests -n auto -vvv
342342

343343
test_wheels_in_debian:
344344
needs: [build_wheels]
@@ -375,7 +375,7 @@ jobs:
375375
- name: Run pytest
376376
env:
377377
PYTHON_TEST_VERSION: "auto"
378-
run: venv/bin/python3 -m pytest tests -k 'not 2.7' -n auto -vvv
378+
run: venv/bin/python3 -m pytest tests -n auto -vvv
379379

380380
upload_pypi:
381381
needs: [test_wheels]

0 commit comments

Comments
 (0)