44 EXTNAME : phpbb/cannedmessages # Your extension vendor/package name
55 SNIFF : 1 # Run code sniffer on your code? 1 or 0
66 IMAGE_ICC : 1 # Run icc profile sniffer on your images? 1 or 0
7- EPV : 1 # Run EPV (Extension Pre Validator) on your code? 1 or 0
7+ EPV : 0 # Run EPV (Extension Pre Validator) on your code? 1 or 0
88 EXECUTABLE_FILES : 1 # Run check for executable files? 1 or 0
9- PHPBB_BRANCH : 3.3.x # The phpBB branch to run tests on
9+ PHPBB_BRANCH : master # The phpBB branch to run tests on
1010
1111on :
1212 push :
1313 branches : # Run tests when commits are pushed to these branches in your repo
14+ - main
1415 - master
1516 - develop
1617 pull_request : # Run tests when pull requests are made on these branches in your repo
1718 branches :
19+ - main
1820 - master
1921 - develop
2022
2123jobs :
2224 # START Basic Checks Job (EPV, code sniffer, images check, etc.)
2325 basic-checks :
24- runs-on : ubuntu-22.04
26+ runs-on : ubuntu-latest
2527 strategy :
2628 matrix :
2729 include :
28- - php : ' 7.2 '
29- db : " none "
30+ - db : ' none '
31+ php : ' 8.1 '
3032 NOTESTS : 1
3133
3234 name : PHP ${{ matrix.php }} - ${{ matrix.db }}
4850 uses : shivammathur/setup-php@v2
4951 with :
5052 php-version : ${{ matrix.php }}
51- extensions : dom, curl, libxml, mbstring, zip, pcntl, pdo, mysqli, sqlite, pdo_sqlite, intl, gd, exif, iconv, sqlsrv, pdo_sqlsrv, ldap
53+ extensions : dom, curl, libxml, mbstring, zip, pcntl, intl, gd, exif, iconv
5254 coverage : none
5355
5456 - name : Setup environment for phpBB
@@ -89,44 +91,42 @@ jobs:
8991
9092 # START MySQL and MariaDB Job
9193 mysql-tests :
92- runs-on : ubuntu-22.04
94+ runs-on : ubuntu-latest
9395 strategy :
9496 matrix :
9597 include :
96- - php : ' 7.2'
97- db : " mariadb:10.1"
98- - php : ' 7.2'
98+ - php : ' 8.1'
9999 db : " mariadb:10.2"
100- - php : ' 7.2 '
100+ - php : ' 8.1 '
101101 db : " mariadb:10.3"
102- - php : ' 7.2 '
102+ - php : ' 8.1 '
103103 db : " mariadb:10.4"
104- - php : ' 7.2'
105- db : " mariadb:10.5"
106- - php : ' 7.2'
107- db : " mysql:5.6"
104+ - php : ' 8.1'
105+ db : " mariadb:10.6"
106+ - php : ' 8.1'
107+ db : " mariadb:10.9"
108+ - php : ' 8.1'
109+ db : " mariadb:10.10"
110+ - php : ' 8.1'
111+ db : " mariadb:10.11"
112+ - php : ' 8.1'
113+ db : " mysql:5.7"
108114 db_alias : " MyISAM Tests"
109115 MYISAM : 1
110- - php : ' 7.2'
111- db : " mysql:5.6"
112- - php : ' 7.2'
113- db : " mysql:5.7"
114- - php : ' 7.3'
115- db : " mysql:5.7"
116- - php : ' 7.4'
117- db : " mysql:5.7"
118- - php : ' 7.4'
119- db : " mysql:8.0"
120- - php : ' 8.0'
121- db : " mysql:5.7"
122116 - php : ' 8.1'
123- db : " mysql:5.7 "
117+ db : " mysql:8.1 "
124118 - php : ' 8.2'
125- db : " mysql:5.7"
119+ db : " mysql:8.0"
120+ - php : ' 8.2'
121+ db : " mariadb:10.2"
126122 - php : ' 8.3'
127123 db : " mysql:5.7"
124+ - php : ' 8.3'
125+ db : " mariadb:10.2"
128126 - php : ' 8.4'
129- db : " mysql:5.7"
127+ db : " mysql:8.0"
128+ - php : ' 8.4'
129+ db : " mariadb:10.3"
130130
131131 name : PHP ${{ matrix.php }} - ${{ matrix.db_alias != '' && matrix.db_alias || matrix.db }}
132132
@@ -209,44 +209,38 @@ jobs:
209209
210210 # START PostgreSQL Job
211211 postgres-tests :
212- runs-on : ubuntu-22.04
212+ runs-on : ubuntu-latest
213213 strategy :
214214 matrix :
215215 include :
216- - php : ' 7.2 '
216+ - php : ' 8.1 '
217217 db : " postgres:9.5"
218- - php : ' 7.2 '
218+ - php : ' 8.1 '
219219 db : " postgres:9.6"
220- - php : ' 7.2 '
220+ - php : ' 8.1 '
221221 db : " postgres:10"
222- - php : ' 7.2 '
222+ - php : ' 8.1 '
223223 db : " postgres:11"
224- - php : ' 7.2'
225- db : " postgres:12"
226- - php : ' 7.2'
227- db : " postgres:13"
228- - php : ' 7.3'
229- db : " postgres:13"
230- - php : ' 7.4'
231- db : " postgres:13"
232- - php : ' 8.0'
224+ - php : ' 8.1'
233225 db : " postgres:12"
234- - php : ' 8.0 '
226+ - php : ' 8.1 '
235227 db : " postgres:13"
236228 - php : ' 8.1'
237229 db : " postgres:14"
230+ - php : ' 8.1'
231+ db : " postgres:15"
238232 - php : ' 8.2'
239- db : " postgres:14 "
233+ db : " postgres:9.5 "
240234 - php : ' 8.3'
241- db : " postgres:14 "
235+ db : " postgres:9.5 "
242236 - php : ' 8.4'
243- db : " postgres:14 "
237+ db : " postgres:9.5 "
244238
245239 name : PHP ${{ matrix.php }} - ${{ matrix.db }}
246240
247241 services :
248242 postgres :
249- image : ${{ matrix.db != 'postgres:9.5' && matrix.db != 'postgres:9.6' && matrix.db != 'postgres:10' && matrix.db != 'postgres:11' && matrix.db != 'postgres:12' && matrix.db != 'postgres:13' && 'postgres:10' || matrix.db }}
243+ image : ${{ matrix.db != 'postgres:9.5' && matrix.db != 'postgres:9.6' && matrix.db != 'postgres:10' && matrix.db != 'postgres:11' && matrix.db != 'postgres:12' && matrix.db != 'postgres:13' && matrix.db != 'postgres:14' && matrix.db != 'postgres:15' && 'postgres:10' || matrix.db }}
250244 env :
251245 POSTGRES_HOST : localhost
252246 POSTGRES_USER : postgres
@@ -294,7 +288,7 @@ jobs:
294288 uses : shivammathur/setup-php@v2
295289 with :
296290 php-version : ${{ matrix.php }}
297- extensions : dom, curl, libxml, mbstring, zip, pcntl, pdo, mysqli, sqlite, pdo_sqlite, intl, gd, exif, iconv, sqlsrv, pdo_sqlsrv, ldap
291+ extensions : dom, curl, libxml, mbstring, zip, pcntl, intl, gd, exif, iconv, pgsql, pdo, pdo_pgsql
298292 coverage : none
299293
300294 - name : Setup environment for phpBB
@@ -329,20 +323,23 @@ jobs:
329323 strategy :
330324 matrix :
331325 include :
332- - php : ' 7.2 '
326+ - php : ' 8.1 '
333327 db : " sqlite3"
334- - php : ' 7.2 '
328+ - php : ' 8.1 '
335329 db : " mcr.microsoft.com/mssql/server:2017-latest"
336330 db_alias : ' MSSQL 2017'
337- - php : ' 7.2 '
331+ - php : ' 8.1 '
338332 db : " mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04"
339333 db_alias : ' MSSQL 2019'
334+ - php : ' 8.1'
335+ db : " mcr.microsoft.com/mssql/server:2022-CU13-ubuntu-22.04"
336+ db_alias : ' MSSQL 2022'
340337
341338 name : PHP ${{ matrix.php }} - ${{ matrix.db_alias != '' && matrix.db_alias || matrix.db }}
342339
343340 services :
344341 mssql :
345- image : ${{ matrix.db != 'mcr.microsoft.com/mssql/server:2017-latest' && matrix.db != 'mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04' && 'mcr.microsoft.com/mssql/server:2017-latest' || matrix.db }}
342+ image : ${{ matrix.db != 'mcr.microsoft.com/mssql/server:2017-latest' && matrix.db != 'mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04' && matrix.db != 'mcr.microsoft.com/mssql/server:2022-CU13-ubuntu-22.04' && 'mcr.microsoft.com/mssql/server:2017-latest' || matrix.db }}
346343 env :
347344 SA_PASSWORD : " Pssw0rd_12"
348345 ACCEPT_EULA : " y"
@@ -382,7 +379,7 @@ jobs:
382379 env :
383380 MATRIX_DB : ${{ matrix.db }}
384381 run : |
385- if [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2017-latest' ] || [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04' ]
382+ if [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2017-latest' ] || [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04' ] || [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2022-CU13-ubuntu-22.04' ]
386383 then
387384 db='mssql'
388385 else
@@ -394,7 +391,7 @@ jobs:
394391 uses : shivammathur/setup-php@v2
395392 with :
396393 php-version : ${{ matrix.php }}
397- extensions : dom, curl, libxml, mbstring, zip, pcntl, pdo, mysqli, sqlite, pdo_sqlite, intl, gd, exif, iconv, sqlsrv, pdo_sqlsrv, ldap
394+ extensions : dom, curl, libxml, mbstring, zip, pcntl, intl, gd, exif, iconv, sqlsrv, pdo, pdo_sqlsrv
398395 coverage : none
399396
400397 - name : Setup environment for phpBB
0 commit comments