diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index 73def866c..b4d7f5386 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml @@ -70,7 +70,7 @@ jobs: pushd demo pip install matplotlib pytest python -c "import pywt; print(pywt.__version__)" - pytest --pyargs pywt + pytest --pyargs pywt -m "not slow" # https://anaconda.org/scientific-python-nightly-wheels/pywavelets # WARNING: this job will overwrite existing wheels. diff --git a/.github/workflows/wheel_tests_and_release.yml b/.github/workflows/wheel_tests_and_release.yml index f3a1e5a14..30a1920d1 100644 --- a/.github/workflows/wheel_tests_and_release.yml +++ b/.github/workflows/wheel_tests_and_release.yml @@ -8,7 +8,7 @@ env: CIBW_BUILD_VERBOSITY: 2 # CIBW_BEFORE_BUILD: pip install cython CIBW_TEST_REQUIRES: pytest - CIBW_TEST_COMMAND: pytest --pyargs pywt + CIBW_TEST_COMMAND: pytest --pyargs pywt -m "not slow" CIBW_ENVIRONMENT: PIP_PREFER_BINARY=1 jobs: diff --git a/pywt/tests/test_mra.py b/pywt/tests/test_mra.py index 76f330591..3bb340e47 100644 --- a/pywt/tests/test_mra.py +++ b/pywt/tests/test_mra.py @@ -174,6 +174,7 @@ def test_mra2_axes(transform, axes, ndim, dtype): # nd mra tests #### +@pytest.mark.slow @pytest.mark.parametrize('wavelet', ['sym2', ]) @pytest.mark.parametrize('transform', ['dwtn', 'swtn']) @pytest.mark.parametrize('mode', pywt.Modes.modes) diff --git a/pywt/tests/test_perfect_reconstruction.py b/pywt/tests/test_perfect_reconstruction.py index 102989213..b5e6f9375 100644 --- a/pywt/tests/test_perfect_reconstruction.py +++ b/pywt/tests/test_perfect_reconstruction.py @@ -6,11 +6,13 @@ import numpy as np +import pytest from numpy.testing import assert_ import pywt +@pytest.mark.slow def test_perfect_reconstruction(): families = ('db', 'sym', 'coif', 'bior', 'rbio') wavelets = sum([pywt.wavelist(name) for name in families], [])