Skip to content

Commit 2cbdc79

Browse files
committed
wip tests
1 parent 74b8362 commit 2cbdc79

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,26 +86,19 @@ jobs:
8686
- name: Discover tests
8787
working-directory: vendor/typerocket/core
8888
run: |
89-
set -o pipefail
9089
pwd
9190
php -v
9291
test -f phpunit.xml
9392
test -x vendor/bin/phpunit
94-
php vendor/bin/phpunit --version 2>&1 | tee phpunit-version.log
93+
php vendor/bin/phpunit --version
9594
find tests -name '*Test.php' -print | sort
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
95+
php vendor/bin/phpunit --configuration phpunit.xml --list-test-files tests
96+
php vendor/bin/phpunit --configuration phpunit.xml --list-tests tests
10297
env:
10398
HTTP_HOST: 127.0.0.1
10499

105100
- name: Run tests
106101
working-directory: vendor/typerocket/core
107-
run: |
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
102+
run: php vendor/bin/phpunit --configuration phpunit.xml --debug --display-errors --display-warnings --display-deprecations --fail-on-empty-test-suite tests
110103
env:
111104
HTTP_HOST: 127.0.0.1

0 commit comments

Comments
 (0)