mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Re-enable running Complement tests against Synapse with workers. (#13420)
This commit is contained in:
parent
23768ccb4d
commit
b817574be7
2 changed files with 4 additions and 24 deletions
27
.github/workflows/tests.yml
vendored
27
.github/workflows/tests.yml
vendored
|
@ -328,6 +328,9 @@ jobs:
|
||||||
- arrangement: monolith
|
- arrangement: monolith
|
||||||
database: Postgres
|
database: Postgres
|
||||||
|
|
||||||
|
- arrangement: workers
|
||||||
|
database: Postgres
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Run actions/checkout@v2 for synapse
|
- name: Run actions/checkout@v2 for synapse
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -343,30 +346,6 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
name: Run Complement Tests
|
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.
|
# a job which marks all the other jobs as complete, thus allowing PRs to be merged.
|
||||||
tests-done:
|
tests-done:
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
|
1
changelog.d/13420.misc
Normal file
1
changelog.d/13420.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Re-enable running Complement tests against Synapse with workers.
|
Loading…
Reference in a new issue