mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Added password for postgres case
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user