Skip to content

Commit

Permalink
Merge pull request GOCDB#359 from ineilson/use-phpunit-config
Browse files Browse the repository at this point in the history
Use phpunit configuration from tests directory
  • Loading branch information
gregcorbett authored Jun 30, 2022
2 parents 5da2b65 + 98e20ff commit 382c3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [[ $GITHUB_ACTIONS ]]; then
git diff --name-only --diff-filter=ACMRTUXB HEAD^ | grep '\.php$' | xargs -r -n 1 php -l || exit 1

# Run test suite
vendor/bin/phpunit --coverage-clover=coverage.xml tests/DoctrineTestSuite1.php
vendor/bin/phpunit -c tests/phpunit.xml --coverage-clover=coverage.xml tests/DoctrineTestSuite1.php
else
echo 'ABORTED: NOT RUNNING ON GITHUB ACTIONS'
exit 2
Expand Down

0 comments on commit 382c3cb

Please sign in to comment.