From 6e5cc9de37022fcbadb57e25ec172d684ff0f6d7 Mon Sep 17 00:00:00 2001 From: tuutti Date: Thu, 18 Jan 2024 08:58:46 +0200 Subject: [PATCH] UHF-8762: Debug --- .github/workflows/visual.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/visual.yml b/.github/workflows/visual.yml index 6d94a24dd..227c8f9c9 100644 --- a/.github/workflows/visual.yml +++ b/.github/workflows/visual.yml @@ -3,6 +3,8 @@ on: push: branches: - main +env: + SIMPLETEST_DB: mysql://drupal:drupal@db:3306/drupal name: Visual regression tests jobs: tests: @@ -33,10 +35,12 @@ jobs: composer require drupal/$THEME_NAME -W - name: Start project + working-directory: ${{ env.DRUPAL_ROOT }} + run: docker compose up -d --wait + + - name: Wait for Database to wake up working-directory: ${{ env.DRUPAL_ROOT }} run: | - docker compose up -d --wait - # Sleep until database is available counter=0 until [ $counter -gt 5 ] do