Merge pull request #7163 from yguedidi/run-tests-with-phpunit-directly

Run tests with PHPUnit directly
This commit is contained in:
Yassine Guedidi
2024-01-10 14:53:08 +01:00
committed by GitHub
5 changed files with 58 additions and 29 deletions

View File

@ -75,11 +75,8 @@ jobs:
with:
composer-options: "--optimize-autoloader --prefer-dist"
- name: "Prepare database"
run: "make prepare DB=${{ matrix.database }}"
- name: "Prepare fixtures"
run: "make fixtures"
- name: "Prepare database configuration"
run: cp app/config/tests/parameters_test.${{ matrix.database }}.yml app/config/parameters_test.yml
- name: "Run PHPUnit"
run: "php bin/phpunit -v"
@ -146,11 +143,8 @@ jobs:
with:
composer-options: "--optimize-autoloader --prefer-dist"
- name: "Prepare database"
run: "make prepare DB=${{ matrix.database }}"
- name: "Prepare fixtures"
run: "make fixtures"
- name: "Prepare database configuration"
run: cp app/config/tests/parameters_test.${{ matrix.database }}.yml app/config/parameters_test.yml
- name: "Run PHPUnit"
run: "php bin/phpunit -v"