From 5f4ad848eda1d5dba20eea67ca9439d6201f2839 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Wed, 26 Mar 2025 13:56:00 +0100 Subject: [PATCH] Fixed wrong condition --- .github/workflows/modoboa.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/modoboa.yml b/.github/workflows/modoboa.yml index b8c5c1bf2..ca35a4c41 100644 --- a/.github/workflows/modoboa.yml +++ b/.github/workflows/modoboa.yml @@ -127,13 +127,13 @@ jobs: OIDC_RSA_PRIVATE_KEY: ${{ vars.OIDC_RSA_PRIVATE_KEY }} - name: Start redis sentinel - if: ${{ matrix.python-version == '3.12' || matrix.database == 'postgres' }} + if: ${{ matrix.python-version == '3.12' && matrix.database == 'postgres' }} uses: hoverkraft-tech/compose-action@v2.0.1 with: compose-file: "./docker/compose.redis-sentinel.yml" - name: Run tests againt redis sentinel - if: ${{ matrix.python-version == '3.12' || matrix.database == 'postgres' }} + if: ${{ matrix.python-version == '3.12' && matrix.database == 'postgres' }} run: | cd test_project coverage run manage.py test modoboa.policyd