From e73894157b3cabfabcf3532f2a9fa220390c5d04 Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Mon, 19 Jun 2023 18:13:45 -0700 Subject: [PATCH 1/2] fix env var evaluation --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a0d1c24e9075..6c2298499777 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -399,8 +399,8 @@ jobs: env: SYTEST_BRANCH: ${{ github.head_ref }} POSTGRES: ${{ matrix.job.postgres && 1}} - MULTI_POSTGRES: ${{ (matrix.job.postgres == 'multi-postgres') && 1}} - ASYNCIO_REACTOR: ${{ (matrix.job.reactor == 'asyncio') && 1 }} + MULTI_POSTGRES: ${{ (matrix.job.postgres == 'multi-postgres') || '' }} + ASYNCIO_REACTOR: ${{ (matrix.job.reactor == 'asyncio') || '' }} WORKERS: ${{ matrix.job.workers && 1 }} BLACKLIST: ${{ matrix.job.workers && 'synapse-blacklist-with-workers' }} TOP: ${{ github.workspace }} From 92b282531488273b2adcc1b0ab7a8be90c28882f Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Mon, 19 Jun 2023 18:26:02 -0700 Subject: [PATCH 2/2] newsfragment --- changelog.d/15804.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/15804.bugfix diff --git a/changelog.d/15804.bugfix b/changelog.d/15804.bugfix new file mode 100644 index 000000000000..7c8b954397e4 --- /dev/null +++ b/changelog.d/15804.bugfix @@ -0,0 +1 @@ +Fix Sytest environmental variable evaluation in CI.