Skip to content

Commit 8ca8a09

Browse files
TEMP: Try moving Python testing into cibuildwheel
1 parent a1ab50b commit 8ca8a09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/code.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: ["ubuntu-latest"] # can add windows-latest, macos-latest
14-
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
14+
python: ["3.9", "3.10", "3.11", "3.12"]
1515
install: ["-e .[dev]"]
1616
# Make one version be non-editable to test both paths of version code
1717
include:
1818
- os: "ubuntu-20.04"
19-
python: "3.7"
19+
python: "3.8"
2020
install: ".[dev]"
2121

2222
runs-on: ${{ matrix.os }}
@@ -79,7 +79,7 @@ jobs:
7979
# Force using an older manylinux image to support more OSs
8080
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
8181
# Simple test that the wheel is loaded and available
82-
CIBW_TEST_COMMAND: python -c "import cothread; print(cothread.__version__)"
82+
CIBW_TEST_COMMAND: python -c "import cothread; print(cothread.__version__)" && pytest {project}/tests && sleep 2
8383
# Skip all PyPy wheels (GIL deadlock detected in ThreadState_New)
8484
# Skip all i686 wheels (cannot build numpy)
8585
# This leaves manylinux and musllinux wheels

0 commit comments

Comments
 (0)