From b817574be7fadf21e0224fe9bab4987230b59fcf Mon Sep 17 00:00:00 2001 From: reivilibre Date: Mon, 1 Aug 2022 10:51:44 +0000 Subject: [PATCH] Re-enable running Complement tests against Synapse with workers. (#13420) --- .github/workflows/tests.yml | 27 +++------------------------ changelog.d/13420.misc | 1 + 2 files changed, 4 insertions(+), 24 deletions(-) create mode 100644 changelog.d/13420.misc diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c8b033e8a4..4bc29c8207 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -328,6 +328,9 @@ jobs: - arrangement: monolith database: Postgres + - arrangement: workers + database: Postgres + steps: - name: Run actions/checkout@v2 for synapse uses: actions/checkout@v2 @@ -343,30 +346,6 @@ jobs: shell: bash name: Run Complement Tests - # XXX When complement with workers is stable, move this back into the standard - # "complement" matrix above. - # - # See https://github.com/matrix-org/synapse/issues/13161 - complement-workers: - if: "${{ !failure() && !cancelled() }}" - needs: linting-done - runs-on: ubuntu-latest - - steps: - - name: Run actions/checkout@v2 for synapse - uses: actions/checkout@v2 - with: - path: synapse - - - name: Prepare Complement's Prerequisites - run: synapse/.ci/scripts/setup_complement_prerequisites.sh - - - run: | - set -o pipefail - POSTGRES=1 WORKERS=1 COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | gotestfmt - shell: bash - name: Run Complement Tests - # a job which marks all the other jobs as complete, thus allowing PRs to be merged. tests-done: if: ${{ always() }} diff --git a/changelog.d/13420.misc b/changelog.d/13420.misc new file mode 100644 index 0000000000..ff1a68e2e8 --- /dev/null +++ b/changelog.d/13420.misc @@ -0,0 +1 @@ +Re-enable running Complement tests against Synapse with workers. \ No newline at end of file