Skip to content

Commit

Permalink
Adjust platforms, re-enable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chad-earthscope committed May 31, 2024
1 parent 84f7bf2 commit 9ab011e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
# macos-13 is an intel runner, macos-14 is apple silicon
os: [ubuntu-latest, macos-13, macos-14, windows-latest]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v4
Expand All @@ -30,12 +30,15 @@ jobs:
# Skip older python's to prevent things like: https://github.com/pypa/cibuildwheel/issues/1828
CIBW_SKIP: cp36-* cp37-* cp38-*

# Build separate wheels for macOS's different architectures.
CIBW_ARCHS_MACOS: "x86_64 arm64"

# Specify additional architectures using emulation
CIBW_ARCHS_LINUX: auto aarch64

# Run tests with pytest
#CIBW_TEST_REQUIRES: pytest
#CIBW_TEST_COMMAND: "pytest {project}/tests"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest {project}/tests"
with:
package-dir: .
output-dir: wheelhouse
Expand Down

0 comments on commit 9ab011e

Please sign in to comment.