File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -541,8 +541,11 @@ jobs:
541541 - ${{ startsWith(inputs.PRIMARY_PHP_VERSION, '7') && '7.4' || inputs.PRIMARY_PHP_VERSION }}
542542 db :
543543 - postgres
544+ type :
545+ - unit
546+ - functional
544547
545- name : PHP ${{ matrix.php }} - Windows
548+ name : PHP ${{ matrix.php }} - Windows - ${{ matrix.type }}
546549
547550 steps :
548551 - name : Prepare git for Windows
@@ -656,7 +659,13 @@ jobs:
656659 Copy-Item ".github\phpunit*" -Destination "phpBB\ext\$env:EXTNAME\.github" -Force
657660 working-directory : .\phpBB3
658661
659- - name : Run tests
660- run : phpBB/vendor/bin/phpunit --configuration phpBB/ext/$env:EXTNAME/.github/phpunit-psql-windows-github.xml --bootstrap ./tests/bootstrap.php --verbose --stop-on-error
662+ - name : Run unit tests
663+ if : ${{ matrix.type == 'unit' }}
664+ run : phpBB/vendor/bin/phpunit --configuration phpBB/ext/$env:EXTNAME/.github/phpunit-psql-windows-github.xml --bootstrap ./tests/bootstrap.php --verbose --stop-on-error --exclude-group functional
665+ working-directory : .\phpBB3
666+
667+ - name : Run functional tests
668+ if : ${{ matrix.type == 'functional' }}
669+ run : phpBB/vendor/bin/phpunit --configuration phpBB/ext/$env:EXTNAME/.github/phpunit-psql-windows-github.xml --bootstrap ./tests/bootstrap.php --verbose --stop-on-error --group functional
661670 working-directory : .\phpBB3
662671 # END IIS & PostgreSQL on Windows Tests Job
You can’t perform that action at this time.
0 commit comments