Skip to content

Commit 2006321

Browse files
committed
m
1 parent fe8f627 commit 2006321

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/pyo3-wheels.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ jobs:
8989
# windows/arm doesn't have a rust toolchain by default
9090
- if: matrix.platform == 'windows' && matrix.arch == 'aarch64'
9191
uses: actions-rust-lang/setup-rust-toolchain@v1
92-
- run: |
93-
rustc --version
94-
cargo --version
9592
- name: Build wheels
9693
uses: PyO3/maturin-action@v1
9794
with:
@@ -203,7 +200,7 @@ jobs:
203200
- name: Retrieve wheel
204201
uses: actions/download-artifact@v4
205202
with:
206-
name: wheels-${{ matrix.platform }}-${{ matrix.arch }}-${{ matrix.wheel }}
203+
name: wheels-${{ matrix.platform }}-${{ matrix.arch }}-${{ matrix.python-wheel }}
207204
path: dist
208205
- name: Update pip
209206
run: python -mpip install --upgrade pip
@@ -218,10 +215,11 @@ jobs:
218215
fi
219216
- name: Install test dependencies
220217
run: python -mpip install pytest pyyaml
218+
- run: ls dist
221219
- name: Install wheel
222-
run: pip install --find-links dist ua_parser_rs
220+
run: python -mpip install --find-links --only-binary ':all:' dist ua_parser_rs
223221
- name: Run tests
224-
run: pytest -v -Werror -ra ua-parser-py
222+
run: python -mpytest -v -Werror -ra ua-parser-py
225223

226224
py-release:
227225
name: Release

0 commit comments

Comments
 (0)