Fixed problem with loading Fixtures on MySQL in combination with savepoints

We must now load the fixtures using custom command partdb:fixtures:load
This commit is contained in:
Jan Böhmer 2023-12-05 21:33:29 +01:00
parent 5b3156ccf4
commit 5faeb5dd56
5 changed files with 133 additions and 4 deletions

View file

@ -107,9 +107,10 @@ jobs:
- name: Do migrations
run: php bin/console --env test doctrine:migrations:migrate -n
# Use our own custom fixtures loading command to circumvent some problems with reset the autoincrement values
- name: Load fixtures
run: php bin/console --env test doctrine:fixtures:load -n
run: php bin/console --env test partdb:fixtures:load -n
- name: Run PHPunit and generate coverage
run: ./bin/phpunit --coverage-clover=coverage.xml