Skip to content

Commit c7af3ff

Browse files
michaelosthegebrandonwillard
authored andcommitted
Ignore tests that are completely broken, but run the others
1 parent 8492e17 commit c7af3ff

File tree

1 file changed

+66
-26
lines changed

1 file changed

+66
-26
lines changed

.github/workflows/pytest.yml

Lines changed: 66 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,58 +7,98 @@ on:
77

88
jobs:
99
pytest:
10-
if: false
1110
strategy:
1211
matrix:
1312
os: [ubuntu-18.04]
1413
floatx: [float32, float64]
1514
test-subset:
15+
# Tests are split into multiple jobs to accelerate the CI.
16+
# The first job (starting in the next block) shouldn't run any tests, but
17+
# just ignores tests because that don't work at all, or run in other jobs.'
18+
# Any test that was not ignored runs in the first job.
19+
# A pre-commit hook (scripts/check_all_tests_are_covered.py) enforces that
20+
# test run just once.
21+
22+
# Because YAML doesn't allow comments in the blocks below, here they are..
23+
# 1st block: These tests are temporarily disabled, because they are _very_ broken
24+
# 2nd block: The JAX tests run through their own workflow: jaxtests.yml
25+
# 3nd & 4rd: These tests are covered by other matrix jobs
26+
# 5th block: These tests PASS without a single XFAIL
27+
# 6th block: These have some XFAILs
1628
- |
17-
--ignore=pymc3/tests/test_dist_math.py
1829
--ignore=pymc3/tests/test_distribution_defaults.py
1930
--ignore=pymc3/tests/test_distributions.py
2031
--ignore=pymc3/tests/test_distributions_random.py
2132
--ignore=pymc3/tests/test_distributions_timeseries.py
22-
--ignore=pymc3/tests/test_examples.py
23-
--ignore=pymc3/tests/test_gp.py
33+
--ignore=pymc3/tests/test_missing.py
2434
--ignore=pymc3/tests/test_mixture.py
25-
--ignore=pymc3/tests/test_ode.py
35+
--ignore=pymc3/tests/test_model_graph.py
36+
--ignore=pymc3/tests/test_modelcontext.py
37+
--ignore=pymc3/tests/test_models_linear.py
38+
--ignore=pymc3/tests/test_ndarray_backend.py
2639
--ignore=pymc3/tests/test_parallel_sampling.py
40+
--ignore=pymc3/tests/test_posterior_predictive.py
2741
--ignore=pymc3/tests/test_posteriors.py
28-
--ignore=pymc3/tests/test_quadpotential.py
42+
--ignore=pymc3/tests/test_profile.py
2943
--ignore=pymc3/tests/test_random.py
3044
--ignore=pymc3/tests/test_sampling.py
31-
--ignore=pymc3/tests/test_sampling_jax.py
32-
--ignore=pymc3/tests/test_shape_handling.py
3345
--ignore=pymc3/tests/test_shared.py
3446
--ignore=pymc3/tests/test_smc.py
47+
--ignore=pymc3/tests/test_starting.py
3548
--ignore=pymc3/tests/test_step.py
36-
--ignore=pymc3/tests/test_updates.py
49+
--ignore=pymc3/tests/test_tracetab.py
50+
--ignore=pymc3/tests/test_transforms.py
51+
--ignore=pymc3/tests/test_tuning.py
52+
--ignore=pymc3/tests/test_types.py
53+
--ignore=pymc3/tests/test_util.py
3754
--ignore=pymc3/tests/test_variational_inference.py
55+
56+
--ignore=pymc3/tests/test_sampling_jax.py
57+
58+
--ignore=pymc3/tests/test_dist_math.py
59+
--ignore=pymc3/tests/test_minibatches.py
60+
--ignore=pymc3/tests/test_pickling.py
61+
--ignore=pymc3/tests/test_plots.py
62+
--ignore=pymc3/tests/test_special_functions.py
63+
--ignore=pymc3/tests/test_updates.py
64+
65+
--ignore=pymc3/tests/test_dist_math.py
66+
--ignore=pymc3/tests/test_examples.py
67+
--ignore=pymc3/tests/test_glm.py
68+
--ignore=pymc3/tests/test_gp.py
69+
--ignore=pymc3/tests/test_memo.py
70+
--ignore=pymc3/tests/test_model.py
71+
--ignore=pymc3/tests/test_model_func.py
72+
--ignore=pymc3/tests/test_model_helpers.py
73+
--ignore=pymc3/tests/test_models_utils.py
74+
--ignore=pymc3/tests/test_ode.py
75+
--ignore=pymc3/tests/test_posdef_sym.py
76+
--ignore=pymc3/tests/test_quadpotential.py
77+
--ignore=pymc3/tests/test_shape_handling.py
78+
3879
- |
3980
pymc3/tests/test_dist_math.py
40-
pymc3/tests/test_distribution_defaults.py
41-
pymc3/tests/test_distributions_random.py
42-
pymc3/tests/test_parallel_sampling.py
43-
pymc3/tests/test_random.py
44-
pymc3/tests/test_shared.py
45-
pymc3/tests/test_smc.py
81+
pymc3/tests/test_minibatches.py
82+
pymc3/tests/test_pickling.py
83+
pymc3/tests/test_plots.py
84+
pymc3/tests/test_special_functions.py
85+
pymc3/tests/test_updates.py
86+
4687
- |
88+
pymc3/tests/test_dist_math.py
4789
pymc3/tests/test_examples.py
48-
pymc3/tests/test_mixture.py
90+
pymc3/tests/test_glm.py
91+
pymc3/tests/test_gp.py
92+
pymc3/tests/test_memo.py
93+
pymc3/tests/test_model.py
94+
pymc3/tests/test_model_func.py
95+
pymc3/tests/test_model_helpers.py
96+
pymc3/tests/test_models_utils.py
4997
pymc3/tests/test_ode.py
50-
pymc3/tests/test_posteriors.py
98+
pymc3/tests/test_posdef_sym.py
5199
pymc3/tests/test_quadpotential.py
52-
- |
53-
pymc3/tests/test_distributions_timeseries.py
54100
pymc3/tests/test_shape_handling.py
55-
pymc3/tests/test_step.py
56-
pymc3/tests/test_updates.py
57-
pymc3/tests/test_variational_inference.py
58-
- |
59-
pymc3/tests/test_distributions.py
60-
pymc3/tests/test_gp.py
61-
pymc3/tests/test_sampling.py
101+
62102
fail-fast: false
63103
runs-on: ${{ matrix.os }}
64104
env:

0 commit comments

Comments
 (0)