From f2fe05704b34f6cc9d9d35564853b1bd5e2e1d1f Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 3 Jun 2025 11:43:36 +0100 Subject: [PATCH] Allow the multi-pg, workers, asyncio Synapse config to fail Without causing CI to fail, as it's very flaky. --- .ci/scripts/calculate_jobs.py | 1 + .github/workflows/tests.yml | 5 +++++ 2 files changed, 6 insertions(+) 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