@@ -39,26 +39,28 @@ concurrency:
3939 group : ${{ github.workflow }}-${{ github.ref }}
4040 cancel-in-progress : true
4141
42+ env :
43+ PHP_EXTENSIONS : curl, intl, pdo, pdo_pgsql
44+ PHP_INI_VALUES : apc.enabled=1,apc.shm_size=32M,apc.enable_cli=1, date.timezone='UTC'
45+ PHPUNIT_GROUP : pgsql
46+ XDEBUG_MODE : coverage
47+
4248jobs :
4349 tests :
4450 name : PHP ${{ matrix.php }}-pgsql-${{ matrix.pgsql }}
4551
4652 env :
47- COVERAGE_DRIVER : ${{ matrix.php == 7.4 && 'xdebug' || 'none' }}
48- PHP_EXTENSIONS : curl, intl, pdo, pdo_pgsql
49- PHP_INI_VALUES : apc.enabled=1,apc.shm_size=32M,apc.enable_cli=1, date.timezone='UTC'
50- PHPUNIT_GROUP : pgsql
51- XDEBUG_MODE : coverage
53+ COVERAGE_DRIVER : xdebug
5254
5355 runs-on : ubuntu-latest
5456
5557 strategy :
5658 fail-fast : false
5759 matrix :
58- php : [7.4, 8.0, 8.1, 8.2, 8.3, 8.4 ]
59- pgsql : [10, 11, 12, 13, 14, 15]
60+ php : [7.4, 8.5 ]
61+ pgsql : [10, 11, 12, 13, 14, 15, 16, 17 ]
6062
61- services :
63+ services : &pgsql-service
6264 postgres :
6365 image : postgres:${{ matrix.pgsql }}
6466 env :
7577 --health-timeout=5s
7678 --mount type=tmpfs,destination=/var/lib/postgresql/data
7779
78- steps :
80+ steps : &pgsql-steps
7981 - name : Monitor action permissions.
8082 if : runner.os != 'Windows'
8183 uses : GitHubSecurityLab/actions-permissions/monitor@v1
9799 coverage-driver : ${{ env.COVERAGE_DRIVER }}
98100 coverage-token : ${{ secrets.CODECOV_TOKEN }}
99101 group : ${{ env.PHPUNIT_GROUP }}
102+
103+ tests-dev :
104+ name : PHP ${{ matrix.php }}-pgsql-${{ matrix.pgsql }}
105+
106+ env :
107+ COVERAGE_DRIVER : none
108+
109+ runs-on : ubuntu-latest
110+
111+ strategy :
112+ fail-fast : false
113+ matrix :
114+ php : [8.0, 8.1, 8.2, 8.3, 8.4]
115+ pgsql :
116+ - 17
117+
118+ services : *pgsql-service
119+
120+ steps : *pgsql-steps
0 commit comments