Skip to content

Commit

Permalink
Fix workflows for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Jan 26, 2024
1 parent ab01f92 commit 4c4c5b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ PANTHER_APP_ENV=panther
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots

# Root access needed to create the new TEST database
DATABASE_URL="mysql://root:biblioteca@db:3306/biblioteca?serverVersion=15&charset=utf8"
DATABASE_URL="sqlite:///%kernel.project_dir%/data/database.sqlite"
5 changes: 4 additions & 1 deletion .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,7 @@ jobs:
- name: Execute tests
env:
DATABASE_URL: sqlite:///%kernel.project_dir%/data/database.sqlite
run: composer test
run: |
bin/console doctrine:schema:create --env=test
bin/console doctrine:schema:update --force --env=test
composer test

0 comments on commit 4c4c5b3

Please sign in to comment.