Skip to content

Commit

Permalink
TST: Mark tests as slow
Browse files Browse the repository at this point in the history
Mark high dimensional tests as slow
  • Loading branch information
bashtage committed Oct 30, 2024
1 parent d430c5f commit 779bf28
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions arch/tests/univariate/test_mean.py
Original file line number Diff line number Diff line change
Expand Up @@ -1484,6 +1484,7 @@ def test_fixed_equivalence_plots(fit_fixed_models):
close_plots()


@pytest.mark.slow
@pytest.mark.parametrize("simulations", [1, 100])
def test_fixed_equivalence_forecastable(forecastable_model, simulations):
res, res_fixed = forecastable_model
Expand All @@ -1501,6 +1502,7 @@ def test_fixed_equivalence_forecastable(forecastable_model, simulations):
assert isinstance(f1, type(f2))


@pytest.mark.slow
@pytest.mark.skipif(not HAS_MATPLOTLIB, reason="matplotlib not installed")
def test_fixed_equivalence_forecastable_plots(forecastable_model):
res, res_fixed = forecastable_model
Expand Down
24 changes: 12 additions & 12 deletions ci/azure/azure_template_posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,12 @@ jobs:
python_311_copy_on_write:
python.version: '3.11'
ARCH_TEST_COPY_ON_WRITE: 1
python_39_coverage:
python.version: '3.9'
ARCH_CYTHON_COVERAGE: true
PYTEST_PATTERN: "(not slow)"
python_39_statsmodels_main:
python_minimums:
python.version: '3.9'
STATSMODELS_MAIN: true
coverage: false
NUMPY: 1.23.0
SCIPY: 1.9.0
MATPLOTLIB: 3.4.0
PANDAS: 1.4.0
python_39_conda_numba:
python.version: '3.9'
use.conda: 'true'
Expand All @@ -48,6 +46,10 @@ jobs:
NUMPY: 1.22.3
SCIPY: 1.8.0
PANDAS: 1.4.0
python_311_cython_coverage:
python.version: '3.11'
ARCH_CYTHON_COVERAGE: true
PYTEST_PATTERN: "(not slow)"
python_311_no_binary:
python.version: '3.11'
ARCH_NO_BINARY: true
Expand All @@ -72,12 +74,10 @@ jobs:
NUMPY: 1.24.0
USE_NUMBA: false
PYTEST_PATTERN: "(slow or not slow)"
python_minimums:
python_312_statsmodels_main:
python.version: '3.9'
NUMPY: 1.23.0
SCIPY: 1.9.0
MATPLOTLIB: 3.4.0
PANDAS: 1.4.0
STATSMODELS_MAIN: true
coverage: false
python312_pre:
python.version: '3.12'
pip.pre: true
Expand Down

0 comments on commit 779bf28

Please sign in to comment.