Skip to content

Commit 1aa838b

Browse files
Install test + runtime extras, disable pytest cache
1 parent 0616dd5 commit 1aa838b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci-emscripten.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,13 @@ jobs:
8181
pyodide venv .venv-pyodide
8282
source .venv-pyodide/bin/activate
8383
84-
# Install the built numcodecs WASM package
85-
python -m pip install dist/*.whl
86-
python -m pip install pytest pytest-cov coverage
84+
# Install the built numcodecs WASM wheel and relevant dependencies
85+
python -m pip install dist/*.whl[msgpack,crc32c,test,test_extras]
8786
8887
# Change into a different directory before running tests to avoid
8988
# the test runner picking up the local numcodecs package
9089
cd docs
91-
python -m pytest --pyargs numcodecs
90+
91+
# Don't use the cache provider plugin, as it doesn't currently work
92+
# with Pyodide: https://github.com/pypa/cibuildwheel/issues/1966
93+
python -m pytest -p no:cacheprovider --pyargs numcodecs

0 commit comments

Comments
 (0)