File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -675,16 +675,18 @@ jobs:
675675
676676 - name : Run unit tests
677677 run : |
678- $extraArgs = ""
678+ $args = @(
679+ "--configuration", "phpBB/ext/$env:EXTNAME/.github/phpunit-psql-windows-github.xml",
680+ "--bootstrap", "./tests/bootstrap.php",
681+ "--verbose",
682+ "--stop-on-error"
683+ )
684+
679685 if ($env:FUNCTIONAL_TESTS -eq "0") {
680- $extraArgs = "--exclude-group functional"
686+ $args += "--exclude-group"
687+ $args += "functional"
681688 }
682689
683- phpBB/vendor/bin/phpunit `
684- --configuration phpBB/ext/$env:EXTNAME/.github/phpunit-psql-windows-github.xml `
685- --bootstrap ./tests/bootstrap.php `
686- --verbose `
687- --stop-on-error `
688- $extraArgs
690+ phpBB/vendor/bin/phpunit @args
689691 working-directory : .\phpBB3
690692 # END IIS & PostgreSQL on Windows Tests Job
You can’t perform that action at this time.
0 commit comments