From 14b2104f21efe1d3cd20ebbbf0ca5e86f955ef84 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Mon, 13 Jun 2022 16:17:46 +0100 Subject: [PATCH 1/2] Fix Complement runs always being Postgres --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0b70ffc643b9..4ce27ff4130b 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 From 6137c0e5ee339a1fcff692a21b948b1d734d94cb Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Mon, 13 Jun 2022 16:18:43 +0100 Subject: [PATCH 2/2] Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) --- changelog.d/13034.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/13034.misc diff --git a/changelog.d/13034.misc b/changelog.d/13034.misc new file mode 100644 index 000000000000..cc2823e12b77 --- /dev/null +++ b/changelog.d/13034.misc @@ -0,0 +1 @@ +Enable testing against PostgreSQL databases in Complement CI. \ No newline at end of file