Skip to content

Commit

Permalink
Setup database for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mjanser committed Oct 3, 2024
1 parent 8fb387f commit 98d4707
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
shell: bash
run: |
docker compose -f compose.yaml -f compose.tests.yaml exec app composer phive:install --no-interaction --no-progress --no-ansi
- name: Initialize database
shell: bash
run: |
docker compose -f compose.yaml -f compose.tests.yaml exec app bin/console messenger:setup-transports
docker compose -f compose.yaml -f compose.tests.yaml exec app bin/console doctrine:migration:migrate -n
docker compose -f compose.yaml -f compose.tests.yaml exec app bin/console doctrine:schema:validate -v
- name: PHP-CS-Fixer
shell: bash
run: |
Expand Down

0 comments on commit 98d4707

Please sign in to comment.