Skip to content

Commit

Permalink
Fixed SQLite database creation with Doctrine DBAL v4 and later
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed May 1, 2024
1 parent edefbc1 commit 1e2032a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: npm run build
- name: Create database and load fixtures
run: |
php bin/console --env=test doctrine:database:create --no-interaction
touch var/data.db
php bin/console --env=test doctrine:schema:create --no-interaction
php bin/console --env=test doctrine:fixtures:load --no-interaction
- name: Run PHP Code Sniffer
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
npx.cmd cspell translations/** --no-summary --no-progress --no-must-find-files
rm -f var/data.db
php bin/console --env=test doctrine:database:create --no-interaction
touch var/data.db
php bin/console --env=test doctrine:schema:create --no-interaction
php bin/console --env=test doctrine:fixtures:load --no-interaction
vendor/bin/phpunit

0 comments on commit 1e2032a

Please sign in to comment.