This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree 2 files changed +25
-3
lines changed
2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -328,9 +328,6 @@ jobs:
328
328
- arrangement : monolith
329
329
database : Postgres
330
330
331
- - arrangement : workers
332
- database : Postgres
333
-
334
331
steps :
335
332
- name : Run actions/checkout@v2 for synapse
336
333
uses : actions/checkout@v2
@@ -346,6 +343,30 @@ jobs:
346
343
shell: bash
347
344
name: Run Complement Tests
348
345
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
+
349
370
# a job which marks all the other jobs as complete, thus allowing PRs to be merged.
350
371
tests-done :
351
372
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