Skip to content

Commit 99fdd19

Browse files
committed
Combine Windows unit and functional tests
1 parent 8acac30 commit 99fdd19

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -541,11 +541,8 @@ jobs:
541541
- ${{ startsWith(inputs.PRIMARY_PHP_VERSION, '7') && '7.4' || inputs.PRIMARY_PHP_VERSION }}
542542
db:
543543
- postgres
544-
type:
545-
- unit
546-
- functional
547544

548-
name: PHP ${{ matrix.php }} - Windows - ${{ matrix.type }}
545+
name: PHP ${{ matrix.php }} - Windows
549546

550547
steps:
551548
- name: Prepare git for Windows
@@ -659,13 +656,7 @@ jobs:
659656
Copy-Item ".github\phpunit*" -Destination "phpBB\ext\$env:EXTNAME\.github" -Force
660657
working-directory: .\phpBB3
661658

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
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
670661
working-directory: .\phpBB3
671662
# END IIS & PostgreSQL on Windows Tests Job

0 commit comments

Comments
 (0)