File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -226,10 +226,14 @@ jobs:
226226 env :
227227 DB : ${{steps.database-type.outputs.db}}
228228 COVERAGE : ${{ matrix.COVERAGE != 1 && '0' || '1' }}
229+ PHP_VERSION : ${{ matrix.php }}
229230 run : |
230- if [ $COVERAGE == '1' ]
231+ if [ $COVERAGE = '1' ]
232+ then
233+ 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" ]
231235 then
232- phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml --bootstrap ./tests/bootstrap.php --coverage-clover build/logs/clover.xml
236+ phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml --bootstrap ./tests/bootstrap.php --testsuite 'phpBB Test Suite'
233237 else
234238 phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml --bootstrap ./tests/bootstrap.php
235239 fi
@@ -348,7 +352,14 @@ jobs:
348352 - name : Run unit tests
349353 env :
350354 DB : ${{steps.database-type.outputs.db}}
351- run : phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml --bootstrap ./tests/bootstrap.php
355+ PHP_VERSION : ${{ matrix.php }}
356+ 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
361+ phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml --bootstrap ./tests/bootstrap.php
362+ fi
352363 working-directory : ./phpBB3
353364 # END PostgreSQL Job
354365
You can’t perform that action at this time.
0 commit comments