Skip to content

Commit 46aad8e

Browse files
committed
Revert "Combine Windows unit and functional tests"
This reverts commit 99fdd19.
1 parent 99fdd19 commit 46aad8e

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)