Skip to content

Commit 344326c

Browse files
authored
Merge pull request #2054 from benjeffery/fix_wheel_test2
Fix wheel tests
2 parents 455987b + 679349a commit 344326c

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/wheels.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
run: |
155155
python -VV
156156
# Install the local wheel
157-
pip install dist/tskit-*.whl
157+
pip install ./tskit-*.whl
158158
python -c "import tskit"
159159
160160
windows-test:
@@ -174,10 +174,11 @@ jobs:
174174
with:
175175
python-version: ${{ matrix.python }}
176176
- name: Install wheel and test
177+
shell: bash
177178
run: |
178179
python -VV
179180
# Install the local wheel
180-
pip install dist/tskit-*.whl
181+
python -m pip install *.whl
181182
python -c "import tskit"
182183
183184
manylinux-test:
@@ -186,6 +187,15 @@ jobs:
186187
strategy:
187188
matrix:
188189
python: [3.7, 3.8, 3.9, "3.10"]
190+
include:
191+
- python: 3.7
192+
wheel: cp37
193+
- python: 3.8
194+
wheel: cp38
195+
- python: 3.9
196+
wheel: cp39
197+
- python: "3.10"
198+
wheel: cp310
189199
steps:
190200
- name: Download wheels
191201
uses: actions/download-artifact@v2
@@ -199,7 +209,7 @@ jobs:
199209
run: |
200210
python -VV
201211
# Install the local wheel
202-
pip install dist/tskit-*.whl
212+
pip install ./tskit-*-${{ matrix.wheel }}-*.whl
203213
python -c "import tskit"
204214
205215

0 commit comments

Comments
 (0)