Skip to content

Commit 13e5c79

Browse files
authored
fix pgsql test setup and ci (#2052)
* fix syntax error in pgsql test setup * fix php and symfony version match in pgsql install
1 parent 48aba12 commit 13e5c79

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
postgresql password: $DB_PW
5353

5454
- name: Install PostgreSQL 16
55-
if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' && matrix.symfony-version == '6-max'
55+
if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' && matrix.symfony-version == '5-max'
5656
uses: CasperWA/[email protected]
5757
with:
5858
postgresql version: 16
@@ -61,7 +61,7 @@ jobs:
6161
postgresql password: $DB_PW
6262

6363
- name: Install PostgreSQL min
64-
if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' && matrix.symfony-version == '6-min'
64+
if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' && matrix.symfony-version == '5-min'
6565
uses: CasperWA/[email protected]
6666
with:
6767
postgresql version: 9

tests/bin/setup.pgsql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if [ "$DB_NAME" = "" ]; then
1616
fi
1717

1818
DB_HOSTNAME=${DB_HOSTNAME-127.0.0.1};
19-
DB_PW=${DB_PW-$PGPASSWORD};.0.1};
19+
DB_PW=${DB_PW-$PGPASSWORD};
2020
DB_PORT=${DB_PORT-5432};
2121

2222
if [ -z "$DB_PW" ]; then

0 commit comments

Comments
 (0)