diff --git a/.github/workflows/modoboa.yml b/.github/workflows/modoboa.yml index 21c40def0..58602cbb6 100644 --- a/.github/workflows/modoboa.yml +++ b/.github/workflows/modoboa.yml @@ -107,7 +107,7 @@ jobs: pip install -r mysql-requirements.txt echo "DB=mysql" >> $GITHUB_ENV - name: Test with pytest - if: ${{ matrix.python-version != '3.10' || matrix.database != 'postgres' }} + if: ${{ matrix.python-version != '3.11' || matrix.database != 'postgres' }} run: | python ./tests.py cd test_project diff --git a/tests.py b/tests.py index dd7e9c022..d019872c6 100644 --- a/tests.py +++ b/tests.py @@ -19,7 +19,7 @@ class DeployTest(unittest.TestCase): dbport = PORT projname = "modoboa_test" dbuser = DB == "mysql" and "modoboa" or "postgres" - dbpassword = DB == "mysql" and "modoboa" or "" + dbpassword = DB == "mysql" and "modoboa" or "postgres" def setUp(self): self.workdir = tempfile.mkdtemp()