From d3cd91fe7cb7f0d4fd5947c16d68c275d64073ac Mon Sep 17 00:00:00 2001 From: Marco Sulla Date: Thu, 6 Jun 2024 22:46:06 +0200 Subject: [PATCH] restored tests on c builds as before, for win compatibility --- .github/workflows/build_primary_wheels.yml | 5 ++--- .github/workflows/build_secondary_wheels.yml | 10 ++++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_primary_wheels.yml b/.github/workflows/build_primary_wheels.yml index 7cf25a4..af4e30c 100644 --- a/.github/workflows/build_primary_wheels.yml +++ b/.github/workflows/build_primary_wheels.yml @@ -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: diff --git a/.github/workflows/build_secondary_wheels.yml b/.github/workflows/build_secondary_wheels.yml index 0a44eef..54caba2 100644 --- a/.github/workflows/build_secondary_wheels.yml +++ b/.github/workflows/build_secondary_wheels.yml @@ -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: @@ -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