From 2febd51de3d6319b6d804ef22c411dcd1ac2fb72 Mon Sep 17 00:00:00 2001 From: Denis Turkov Date: Wed, 20 Mar 2024 18:13:47 +0100 Subject: [PATCH 1/3] Update ci.yml --- .github/workflows/ci.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0a563d37..ae6cccc6f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: [ '7.4', '8.2' ] + php-version: [ '7.4', '8.2', '8.3' ] db-type: [ sqlite, mysql, pgsql, agnostic ] symfony-version: [ '4-min', '4-max', '5-min', '5-max', '6-min', '6-max' ] exclude: @@ -37,6 +37,24 @@ jobs: postgresql user: $DB_USER postgresql password: $DB_PW + - name: Install PostgreSQL 16 + if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' + uses: CasperWA/postgresql-action@v1.2 + with: + postgresql version: 16 + postgresql db: $DB_NAME + postgresql user: $DB_USER + postgresql password: $DB_PW + + - name: Install PostgreSQL 12 + if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' + uses: CasperWA/postgresql-action@v1.2 + with: + postgresql version: 12 + postgresql db: $DB_NAME + postgresql user: $DB_USER + postgresql password: $DB_PW + - name: Install PostgreSQL min if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' uses: CasperWA/postgresql-action@v1.2 From 780c82690a7845321eec56cc8393f12a30cf4e41 Mon Sep 17 00:00:00 2001 From: Denis Turkov Date: Wed, 20 Mar 2024 18:30:02 +0100 Subject: [PATCH 2/3] Update ci.yml --- .github/workflows/ci.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae6cccc6f..d469af2f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,15 +46,6 @@ jobs: postgresql user: $DB_USER postgresql password: $DB_PW - - name: Install PostgreSQL 12 - if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' - uses: CasperWA/postgresql-action@v1.2 - with: - postgresql version: 12 - postgresql db: $DB_NAME - postgresql user: $DB_USER - postgresql password: $DB_PW - - name: Install PostgreSQL min if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' uses: CasperWA/postgresql-action@v1.2 From 7ed71c279e5ef2ef905c78da9082be495ca0c5dc Mon Sep 17 00:00:00 2001 From: Denis Turkov Date: Wed, 20 Mar 2024 18:43:50 +0100 Subject: [PATCH 3/3] Separate v16 from the v9 runs. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d469af2f0..b6729905f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: postgresql password: $DB_PW - name: Install PostgreSQL 16 - if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' + if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' && matrix.symfony-version == '6-max' uses: CasperWA/postgresql-action@v1.2 with: postgresql version: 16 @@ -47,7 +47,7 @@ jobs: postgresql password: $DB_PW - name: Install PostgreSQL min - if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' + if: matrix.db-type == 'pgsql' && matrix.php-version == '7.4' && matrix.symfony-version == '6-min' uses: CasperWA/postgresql-action@v1.2 with: postgresql version: 9