3
3
on :
4
4
push :
5
5
branches : [master]
6
- pull_request :
6
+ pull_request : {}
7
7
8
8
env :
9
9
EXTNAME : ' alfredoramos/hcaptcha'
@@ -18,12 +18,14 @@ jobs:
18
18
if : ${{ !contains(github.event.head_commit.message, 'skip ci') }}
19
19
name : php ${{ matrix.php-version }}, none none
20
20
runs-on : ubuntu-latest
21
+ continue-on-error : ${{ matrix.experimental }} # TODO: Remove
21
22
env :
22
23
PHP_VERSION : ${{ matrix.php-version }}
23
24
strategy :
24
25
fail-fast : false
25
26
matrix :
26
27
php-version : ['8.1']
28
+ experimental : [true] # TODO: Remove
27
29
steps :
28
30
- name : Checkout phpBB
29
31
uses : actions/checkout@v4
71
73
72
74
- name : Install Node dependencies
73
75
working-directory : extension
74
- run : npm install
76
+ run : npm ci
75
77
76
78
- name : Setup extension
77
79
working-directory : extension
@@ -81,26 +83,31 @@ jobs:
81
83
82
84
- name : Setup EPV
83
85
if : ${{ env.EPV == 1 }}
86
+ continue-on-error : ${{ matrix.experimental }} # TODO: Remove
84
87
working-directory : phpBB3/phpBB
85
- run : composer require -n --prefer-dist --no-progress --with-all-dependencies phpbb/epv:dev-master
88
+ run : composer require -n --prefer-dist --no-progress phpbb/epv:dev-master
86
89
87
90
- name : Run code sniffer
88
91
if : ${{ env.SNIFF == 1 }}
92
+ continue-on-error : ${{ matrix.experimental }} # TODO: Remove
89
93
working-directory : phpBB3
90
94
run : .github/ext-sniff.sh $EXTNAME $NOTESTS
91
95
92
96
- name : Check image ICC profiles
93
97
if : ${{ env.IMAGE_ICC == 1 }}
98
+ continue-on-error : ${{ matrix.experimental }} # TODO: Remove
94
99
working-directory : phpBB3
95
100
run : .github/check-image-icc-profiles.sh
96
101
97
102
- name : Check executable files
98
103
if : ${{ env.EXECUTABLE_FILES == 1 }}
104
+ continue-on-error : ${{ matrix.experimental }} # TODO: Remove
99
105
working-directory : phpBB3
100
106
run : .github/ext-check-executable-files.sh ./ $EXTNAME
101
107
102
108
- name : Run EPV
103
109
if : ${{ env.EPV == 1 }}
110
+ continue-on-error : ${{ matrix.experimental }} # TODO: Remove
104
111
working-directory : phpBB3
105
112
run : phpBB/vendor/bin/EPV.php run --dir="phpBB/ext/$EXTNAME"
106
113
@@ -128,6 +135,7 @@ jobs:
128
135
strategy :
129
136
fail-fast : false
130
137
matrix :
138
+ experimental : [false] # TODO: Remove
131
139
include :
132
140
- php-version : ' 8.1'
133
141
db-type : ' mariadb'
@@ -141,6 +149,7 @@ jobs:
141
149
- php-version : ' 8.4'
142
150
db-type : ' mariadb'
143
151
db-version : ' 10.11'
152
+ experimental : true # TODO: Remove
144
153
steps :
145
154
- name : Checkout phpBB
146
155
uses : actions/checkout@v4
@@ -188,7 +197,7 @@ jobs:
188
197
189
198
- name : Install Node dependencies
190
199
working-directory : extension
191
- run : npm install
200
+ run : npm ci
192
201
193
202
- name : Setup extension
194
203
working-directory : extension
@@ -207,6 +216,7 @@ jobs:
207
216
cp -a .github/phpunit* phpBB/ext/$EXTNAME/ci/
208
217
209
218
- name : Run unit tests
219
+ continue-on-error : ${{ matrix.experimental }} # TODO: Remove
210
220
working-directory : phpBB3
211
221
run : phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/ci/phpunit-$DB-github.xml --bootstrap tests/bootstrap.php
212
222
@@ -235,10 +245,15 @@ jobs:
235
245
strategy :
236
246
fail-fast : false
237
247
matrix :
248
+ experimental : [false] # TODO: Remove
238
249
include :
250
+ - php-version : ' 8.3'
251
+ db-type : ' postgres'
252
+ db-version : ' 17-alpine'
239
253
- php-version : ' 8.4'
240
254
db-type : ' postgres'
241
255
db-version : ' 17-alpine'
256
+ experimental : true # TODO: Remove
242
257
steps :
243
258
- name : Checkout phpBB
244
259
uses : actions/checkout@v4
@@ -286,7 +301,7 @@ jobs:
286
301
287
302
- name : Install Node dependencies
288
303
working-directory : extension
289
- run : npm install
304
+ run : npm ci
290
305
291
306
- name : Setup extension
292
307
working-directory : extension
@@ -305,6 +320,7 @@ jobs:
305
320
cp -a .github/phpunit* phpBB/ext/$EXTNAME/ci/
306
321
307
322
- name : Run unit tests
323
+ continue-on-error : ${{ matrix.experimental }} # TODO: Remove
308
324
working-directory : phpBB3
309
325
run : phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/ci/phpunit-$DB-github.xml --bootstrap tests/bootstrap.php
310
326
@@ -326,7 +342,7 @@ jobs:
326
342
327
343
- name : Install Node dependencies
328
344
working-directory : extension
329
- run : npm install
345
+ run : npm ci
330
346
331
347
- name : Test SCSS
332
348
working-directory : extension
0 commit comments