From 295136f12ffd185f110c58c669940ed0686224d8 Mon Sep 17 00:00:00 2001 From: Qazalbash Date: Sat, 1 Feb 2025 00:37:10 +0500 Subject: [PATCH] ci: enable continue-on-error for all test jobs in CI workflow --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 793c886ad..727cf64fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,7 @@ jobs: test-modeling: + continue-on-error: true runs-on: ubuntu-latest needs: lint strategy: @@ -73,9 +74,11 @@ jobs: pip install -e '.[dev,test]' pip freeze - name: Test with pytest + continue-on-error: true run: | CI=1 pytest -vs -k "not test_example" --durations=100 --ignore=test/infer/ --ignore=test/contrib/ - name: Test x64 + continue-on-error: true run: | JAX_ENABLE_X64=1 pytest -vs test/test_distributions.py -k powerLaw - name: Coveralls @@ -89,6 +92,7 @@ jobs: test-inference: + continue-on-error: true runs-on: ubuntu-latest needs: lint strategy: @@ -112,23 +116,28 @@ jobs: pip install -e '.[dev,test]' pip freeze - name: Test with pytest + continue-on-error: true run: | pytest -vs --durations=20 test/infer/test_mcmc.py pytest -vs --durations=20 test/infer --ignore=test/infer/test_mcmc.py --ignore=test/contrib/test_nested_sampling.py pytest -vs --durations=20 test/contrib --ignore=test/contrib/stochastic_support/test_dcc.py - name: Test x64 + continue-on-error: true run: | JAX_ENABLE_X64=1 pytest -vs test/infer/test_mcmc.py -k x64 - name: Test chains + continue-on-error: true run: | XLA_FLAGS="--xla_force_host_platform_device_count=2" pytest -vs test/infer/test_mcmc.py -k "chain or pmap or vmap" XLA_FLAGS="--xla_force_host_platform_device_count=2" pytest -vs test/contrib/test_tfp.py -k "chain" XLA_FLAGS="--xla_force_host_platform_device_count=2" pytest -vs test/contrib/stochastic_support/test_dcc.py XLA_FLAGS="--xla_force_host_platform_device_count=2" pytest -vs test/infer/test_hmc_gibbs.py -k "chain" - name: Test custom prng + continue-on-error: true run: | JAX_ENABLE_CUSTOM_PRNG=1 pytest -vs test/infer/test_mcmc.py - name: Test nested sampling + continue-on-error: true run: | JAX_ENABLE_X64=1 pytest -vs test/contrib/test_nested_sampling.py - name: Coveralls