Skip to content

Commit

Permalink
Tweak error reporting level for test runs
Browse files Browse the repository at this point in the history
Running tests on PHP 7.4 throws deprecation notices
  • Loading branch information
e1himself committed Jul 21, 2021
1 parent 3bf98e1 commit 113ea38
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ jobs:
composer install $COMPOSER_FLAGS
- name: Test
run: php -d xdebug.mode=coverage -d xdebug.overload_var_dump=0 vendor/bin/phpunit
run: |
php -d error_reporting=$(php -r 'echo E_ALL & ~ E_DEPRECATED & ~ E_NOTICE;')
-d xdebug.mode=coverage \
-d xdebug.overload_var_dump=0 \
vendor/bin/phpunit
- name: Upload coverage results to Coveralls
env:
Expand Down

0 comments on commit 113ea38

Please sign in to comment.