Skip to content

Commit d3d04dc

Browse files
committed
update tests for github actions — wip
1 parent f16e8c6 commit d3d04dc

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
ALT_DB_NAME: tr_v51_alt
8080

8181
- name: Verify WordPress database
82-
run: php galaxy wp db check
82+
run: vendor/typerocket/core/wp-cli.phar db check --allow-root --path=wordpress
8383
env:
8484
HTTP_HOST: 127.0.0.1
8585

@@ -89,6 +89,9 @@ jobs:
8989
pwd
9090
test -f phpunit.xml
9191
test -x vendor/bin/phpunit
92-
vendor/bin/phpunit --configuration phpunit.xml --testdox --display-errors --display-warnings --display-deprecations --fail-on-empty-test-suite
92+
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
95+
vendor/bin/phpunit --configuration phpunit.xml --debug --display-errors --display-warnings --display-deprecations --fail-on-empty-test-suite
9396
env:
9497
HTTP_HOST: 127.0.0.1

0 commit comments

Comments
 (0)