Skip to content

Commit f0e3411

Browse files
committed
CI: avoid running slow tests in wheel builds and Emscripten
These are extra tests that iterate over all wavelets and require a lot of time even on a regular x86-64 build (~10s for `test_precision`, 42s for `test_swt_iswt` on my machine). For Emscripten and especially under Qemu (Linux aarch64 wheel builds) they're really really slow. These tests aren't essential to run for wheel builds, so disable them.
1 parent e12e957 commit f0e3411

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/emscripten.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
pushd demo
7171
pip install matplotlib pytest
7272
python -c "import pywt; print(pywt.__version__)"
73-
pytest --pyargs pywt
73+
pytest --pyargs pywt -m "not slow"
7474
7575
# https://anaconda.org/scientific-python-nightly-wheels/pywavelets
7676
# WARNING: this job will overwrite existing wheels.

.github/workflows/wheel_tests_and_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
CIBW_BUILD_VERBOSITY: 2
99
# CIBW_BEFORE_BUILD: pip install cython
1010
CIBW_TEST_REQUIRES: pytest
11-
CIBW_TEST_COMMAND: pytest --pyargs pywt
11+
CIBW_TEST_COMMAND: pytest --pyargs pywt -m "not slow"
1212
CIBW_ENVIRONMENT: PIP_PREFER_BINARY=1
1313

1414
jobs:

0 commit comments

Comments
 (0)