From 982c838c4a69f1f523702190c03c2456696fd245 Mon Sep 17 00:00:00 2001 From: tuutti Date: Mon, 3 Apr 2023 13:06:38 +0300 Subject: [PATCH] UHF-8077: Run database updates before tests --- .github/workflows/test.yml | 2 +- .github/workflows/update-config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 519d5d68..072a4a91 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,7 +52,7 @@ jobs: - name: Install Drupal run: | mysql --user=drupal --password=drupal --database=drupal --host=db --port=3306 -A < latest.sql - drush cr && drush cim -y + drush deploy - name: Start services run: | diff --git a/.github/workflows/update-config.yml b/.github/workflows/update-config.yml index eddbe50b..4b642e59 100644 --- a/.github/workflows/update-config.yml +++ b/.github/workflows/update-config.yml @@ -39,7 +39,7 @@ jobs: run: | composer install $(drush sql:connect) < latest.sql - drush cr && drush cim -y + drush deploy composer update drupal/helfi_* drupal/hdbt* -W drush cr && drush updb -y && drush cex -y # Update platform