Skip to content

Commit

Permalink
restored tests on c builds as before, for win compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco-Sulla committed Jun 6, 2024
1 parent e015fc7 commit d3cd91f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build_primary_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ jobs:
CIBW_SKIP: "cp311-* cp312-* pp*"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: >
cd {package}/ &&
python -X faulthandler test/debug.py &&
python -X faulthandler -m pytest -p no:faulthandler
python -X faulthandler {package}/test/debug.py &&
python -X faulthandler -m pytest -p no:faulthandler -s {package}
- uses: actions/upload-artifact@v3
with:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/build_secondary_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ jobs:
CIBW_SKIP: "cp311-* cp312-* pp*"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: >
cd {package}/ &&
python -X faulthandler test/debug.py &&
python -X faulthandler -m pytest -p no:faulthandler
python -X faulthandler {package}/test/debug.py &&
python -X faulthandler -m pytest -p no:faulthandler -s {package}
- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -73,9 +72,8 @@ jobs:
CIBW_SKIP: "*-musllinux_*"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: >
cd {package}/ &&
python -X faulthandler test/debug.py &&
python -X faulthandler -m pytest -p no:faulthandler
python -X faulthandler {package}/test/debug.py &&
python -X faulthandler -m pytest -p no:faulthandler -s {package}
with:
package-dir: dist/frozendict.tar.gz

Expand Down

0 comments on commit d3cd91f

Please sign in to comment.