summary refs log tree commit diff
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-06-14 13:13:35 +0100
committerGitHub <noreply@github.com>2022-06-14 13:13:35 +0100
commit09a3c5ce0b9daeda30f7168897be26912a489da7 (patch)
tree11ea4bc9a79741ac201f178d81f3f021cc72a5f6
parentMerge branch 'release-v1.61' into develop (diff)
downloadsynapse-09a3c5ce0b9daeda30f7168897be26912a489da7.tar.xz
Fix Complement runs always being Postgres (#13034)
* Fix Complement runs always being Postgres

* Newsfile

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
-rw-r--r--.github/workflows/tests.yml2
-rw-r--r--changelog.d/13034.misc1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 0b70ffc643..4ce27ff413 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -347,7 +347,7 @@ jobs:
 
       - run: |
           set -o pipefail
-          POSTGRES=${{ (matrix.database == 'Postgres') && 1 }} COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | gotestfmt
+          POSTGRES=${{ (matrix.database == 'Postgres') && 1 || '' }} COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | gotestfmt
         shell: bash
         name: Run Complement Tests
 
diff --git a/changelog.d/13034.misc b/changelog.d/13034.misc
new file mode 100644
index 0000000000..cc2823e12b
--- /dev/null
+++ b/changelog.d/13034.misc
@@ -0,0 +1 @@
+Enable testing against PostgreSQL databases in Complement CI.
\ No newline at end of file