File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,18 +86,26 @@ jobs:
8686 - name : Discover tests
8787 working-directory : vendor/typerocket/core
8888 run : |
89+ set -o pipefail
8990 pwd
91+ php -v
9092 test -f phpunit.xml
9193 test -x vendor/bin/phpunit
94+ php vendor/bin/phpunit --version 2>&1 | tee phpunit-version.log
9295 find tests -name '*Test.php' -print | sort
93- vendor/bin/phpunit --configuration phpunit.xml --list-test-files
94- vendor/bin/phpunit --configuration phpunit.xml --list-tests
96+
97+ php vendor/bin/phpunit --configuration phpunit.xml --list-test-files 2>&1 | tee phpunit-list-test-files.log
98+ test -s phpunit-list-test-files.log
99+
100+ php vendor/bin/phpunit --configuration phpunit.xml --list-tests 2>&1 | tee phpunit-list-tests.log
101+ test -s phpunit-list-tests.log
95102 env :
96103 HTTP_HOST : 127.0.0.1
97104
98105 - name : Run tests
99106 working-directory : vendor/typerocket/core
100107 run : |
101- vendor/bin/phpunit --configuration phpunit.xml --debug --display-errors --display-warnings --display-deprecations --fail-on-empty-test-suite
108+ set -o pipefail
109+ php vendor/bin/phpunit --configuration phpunit.xml --debug --display-errors --display-warnings --display-deprecations --fail-on-empty-test-suite 2>&1 | tee phpunit-debug.log
102110 env :
103111 HTTP_HOST : 127.0.0.1
You can’t perform that action at this time.
0 commit comments