Skip to content

Commit

Permalink
.github/workflows/test.yml: run phpstan on PHP 8.4 and ask phpunit to…
Browse files Browse the repository at this point in the history
… display warnings and deprecations
  • Loading branch information
zozlak committed Sep 26, 2024
1 parent b94ce82 commit 44d900b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
docker exec arche-dev a2dissite mod_php
docker exec arche-dev a2ensite php_fpm
docker exec -w /root arche-dev supervisorctl restart apache2
docker exec -t -e XDEBUG_MODE=coverage -u www-data arche-dev vendor/bin/phpunit
docker exec -t -e XDEBUG_MODE=coverage -u www-data arche-dev vendor/bin/phpunit --display-deprecations --display-phpunit-deprecations --display-notices --display-warnings
- name: coveralls
run: |
export COVERALLS_RUN_LOCALLY=1
Expand Down Expand Up @@ -76,6 +76,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.4
- uses: actions/cache@v4
with:
path: vendor
Expand Down

0 comments on commit 44d900b

Please sign in to comment.