Skip to content

Commit 4274f30

Browse files
committed
test against pr
1 parent 4b33405 commit 4274f30

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ env:
66
IMAGE_ICC: 1 # Run icc profile sniffer on your images? 1 or 0
77
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: master # The phpBB branch to run tests on
9+
PHPBB_BRANCH: ticket/17496 # The phpBB branch to run tests on
1010

1111
on:
1212
push:
@@ -37,7 +37,7 @@ jobs:
3737
- name: Checkout phpBB
3838
uses: actions/checkout@v4
3939
with:
40-
repository: phpbb/phpbb
40+
repository: rxu/phpbb3
4141
ref: ${{ env.PHPBB_BRANCH }}
4242
path: phpBB3
4343

@@ -162,7 +162,7 @@ jobs:
162162
- name: Checkout phpBB
163163
uses: actions/checkout@v4
164164
with:
165-
repository: phpbb/phpbb
165+
repository: rxu/phpbb3
166166
ref: ${{ env.PHPBB_BRANCH }}
167167
path: phpBB3
168168

@@ -231,9 +231,6 @@ jobs:
231231
if [ $COVERAGE = '1' ]
232232
then
233233
phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml --bootstrap ./tests/bootstrap.php --coverage-clover build/logs/clover.xml --testsuite 'phpBB Test Suite'
234-
elif [ "$PHP_VERSION" = "8.4" ]
235-
then
236-
phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml --bootstrap ./tests/bootstrap.php --testsuite 'phpBB Test Suite'
237234
else
238235
phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml --bootstrap ./tests/bootstrap.php
239236
fi
@@ -307,7 +304,7 @@ jobs:
307304
- name: Checkout phpBB
308305
uses: actions/checkout@v4
309306
with:
310-
repository: phpbb/phpbb
307+
repository: rxu/phpbb3
311308
ref: ${{ env.PHPBB_BRANCH }}
312309
path: phpBB3
313310

@@ -354,12 +351,7 @@ jobs:
354351
DB: ${{steps.database-type.outputs.db}}
355352
PHP_VERSION: ${{ matrix.php }}
356353
run: |
357-
if [ "$PHP_VERSION" = "8.4" ]
358-
then
359-
phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml --bootstrap ./tests/bootstrap.php --testsuite 'phpBB Test Suite'
360-
else
361354
phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml --bootstrap ./tests/bootstrap.php
362-
fi
363355
working-directory: ./phpBB3
364356
# END PostgreSQL Job
365357

@@ -412,7 +404,7 @@ jobs:
412404
- name: Checkout phpBB
413405
uses: actions/checkout@v4
414406
with:
415-
repository: phpbb/phpbb
407+
repository: rxu/phpbb3
416408
ref: ${{ env.PHPBB_BRANCH }}
417409
path: phpBB3
418410

0 commit comments

Comments
 (0)