Skip to content

Commit

Permalink
Wheel CI: Skip tests on musllinux and Python 3.7 aarch64
Browse files Browse the repository at this point in the history
NumPy doesn't provide wheels for musllinux or Aarch64 Python 3.7, on those runs it builds NumPy from scratch when testing, which takes very long.

This commit skips testing on those platforms.
  • Loading branch information
EwoutH authored Nov 3, 2022
1 parent da429b8 commit c617861
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
CIBW_REPAIR_WHEEL_COMMAND_MACOS: ""
MACOSX_DEPLOYMENT_TARGET: 10.9
CIBW_BUILD_VERBOSITY_MACOS: 3
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64 *-musllinux*"
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: ""
CIBW_BEFORE_ALL_LINUX: "pip install cmake; bash {project}/ci/install_libspatialindex.bash"
Expand Down Expand Up @@ -189,6 +189,7 @@ jobs:
CIBW_ARCHS_LINUX: aarch64
CIBW_TEST_REQUIRES: pytest numpy
CIBW_TEST_COMMAND: "pytest -v {project}/tests"
CIBW_TEST_SKIP: "cp37-* *-musllinux*"
CIBW_BEFORE_ALL_LINUX: "pip install cmake; bash {project}/ci/install_libspatialindex.bash"
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit c617861

Please sign in to comment.