diff --git a/.ci/scripts/calculate_jobs.py b/.ci/scripts/calculate_jobs.py index 5249acdc5d..d696403913 100755 --- a/.ci/scripts/calculate_jobs.py +++ b/.ci/scripts/calculate_jobs.py @@ -120,6 +120,7 @@ sytest_tests = [ "postgres": "multi-postgres", "workers": "workers", "reactor": "asyncio", + "failure_allowed": True, }, ] diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 848240f68e..dfb269b92e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -525,6 +525,11 @@ jobs: - name: Run SyTest run: /bootstrap.sh synapse working-directory: /src + # Prevent failures of this configuration from causing all of CI to + # marked as failed. This is useful for testing a new Synapse configuration + # in anger without causing sporatic CI failures. + continue-on-error: ${{ matrix.job.failure_allowed || false }} + - name: Summarise results.tap if: ${{ always() }} run: /sytest/scripts/tap_to_gha.pl /logs/results.tap