Skip to content

Commit f3e86a1

Browse files
committed
Build wheels for all OSes and test on all but windows.
1 parent bbf04ef commit f3e86a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build_wheels.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,15 @@ jobs:
1515
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:
18-
os: [windows-latest]
18+
os: [ubuntu-latest, macos-latest, windows-latest]
1919

2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Build wheels
2323
uses: pypa/[email protected]
2424
env:
25-
PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu
2625
CIBW_TEST_SOURCES: tests
27-
CIBW_TEST_COMMAND: pytest tests
26+
CIBW_TEST_COMMAND: ${{ matrix.os != 'windows-latest' && 'pytest tests' || '' }}
2827
CIBW_TEST_REQUIRES: pytest pytest-cov pytest-mock codecov
2928
CIBW_SKIP: cp38-* cp39-* cp310-* cp311-* cp313-* *-musllinux* *-manylinux_i686
3029

0 commit comments

Comments
 (0)