Skip to content

Commit

Permalink
GHA: Webtests: Let composer manage the creation of the db
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Aug 28, 2024
1 parent d20a284 commit 49a45f4
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/test-integration-webtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,7 @@ jobs:
run: |
${DOCKER_COMPOSE_PHP} yarn run encore production
- name: Delete the database if present
working-directory: spdashboard
run: |
${DOCKER_COMPOSE_PHP} rm -f /tmp/spdashboard-webtests.sqlite
- name: Get the database up and running
working-directory: spdashboard
run: |
${DOCKER_RUN_SPD_AS_WWW} bin/console doctrine:schema:create
env:
APP_ENV: test

- name: Run CI tests
working-directory: spdashboard
run: |
${DOCKER_COMPOSE_PHP} sh -c 'composer webtests'
${DOCKER_COMPOSE_PHP} sh -c 'composer webtest'

0 comments on commit 49a45f4

Please sign in to comment.