This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -328,9 +328,6 @@ jobs:
328328 - arrangement : monolith
329329 database : Postgres
330330
331- - arrangement : workers
332- database : Postgres
333-
334331 steps :
335332 - name : Run actions/checkout@v2 for synapse
336333 uses : actions/checkout@v2
@@ -346,6 +343,30 @@ jobs:
346343 shell: bash
347344 name: Run Complement Tests
348345
346+ # XXX When complement with workers is stable, move this back into the standard
347+ # "complement" matrix above.
348+ #
349+ # See https://github.com/matrix-org/synapse/issues/13161
350+ complement-workers :
351+ if : " ${{ !failure() && !cancelled() }}"
352+ needs : linting-done
353+ runs-on : ubuntu-latest
354+
355+ steps :
356+ - name : Run actions/checkout@v2 for synapse
357+ uses : actions/checkout@v2
358+ with :
359+ path : synapse
360+
361+ - name : Prepare Complement's Prerequisites
362+ run : synapse/.ci/scripts/setup_complement_prerequisites.sh
363+
364+ - run : |
365+ set -o pipefail
366+ POSTGRES=1 WORKERS=1 COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | gotestfmt
367+ shell: bash
368+ name: Run Complement Tests
369+
349370 # a job which marks all the other jobs as complete, thus allowing PRs to be merged.
350371 tests-done :
351372 if : ${{ always() }}
Original file line number Diff line number Diff line change 1+ Do not fail build if complement with workers fails.
You can’t perform that action at this time.
0 commit comments