Ignore deprecations and run PHPUnit via composer run-script

This commit is contained in:
bocharsky-bw 2022-01-26 10:54:34 +02:00
parent 4f439a0d56
commit 129a09ce3f
2 changed files with 3 additions and 3 deletions

View file

@ -33,4 +33,4 @@ jobs:
# Docs: https://getcomposer.org/doc/articles/scripts.md
- name: Run test suite
run: composer run-script test
run: SYMFONY_DEPRECATIONS_HELPER=5 composer run-script test

View file

@ -83,7 +83,7 @@ jobs:
if: "${{ matrix.deps == 'low' }}"
- name: "Install PHPUnit"
run: "./vendor/bin/simple-phpunit install"
run: "composer run-script test install"
- name: "Run tests"
run: "./vendor/bin/simple-phpunit -v"
run: "composer run-script test -v"