forked from fa/breadcrumb-the-shire
fix(ci): run db:migrate before tests so settings table exists
This commit is contained in:
3
.github/workflows/deploy.yaml
vendored
3
.github/workflows/deploy.yaml
vendored
@@ -27,6 +27,9 @@ jobs:
|
||||
run: |
|
||||
docker compose exec -T php bash -c "cd /var/www && composer install --no-interaction --prefer-dist --optimize-autoloader"
|
||||
|
||||
- name: Run DB migrations
|
||||
run: docker compose exec -T php php bin/console db:migrate
|
||||
|
||||
- name: Run required QA gates
|
||||
run: bin/qa-required.sh
|
||||
|
||||
|
||||
3
.github/workflows/qa-required.yaml
vendored
3
.github/workflows/qa-required.yaml
vendored
@@ -29,5 +29,8 @@ jobs:
|
||||
run: |
|
||||
docker compose exec -T php bash -c "cd /var/www && composer install --no-interaction --prefer-dist --optimize-autoloader"
|
||||
|
||||
- name: Run DB migrations
|
||||
run: docker compose exec -T php php bin/console db:migrate
|
||||
|
||||
- name: Run required QA gates
|
||||
run: bin/qa-required.sh
|
||||
|
||||
Reference in New Issue
Block a user