Skip to content

Commit

Permalink
UHF-8762: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Jan 18, 2024
1 parent 56e4a33 commit ff4397c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/visual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ on:
push:
branches:
- main
env:
SIMPLETEST_DB: mysql://drupal:drupal@db:3306/drupal
name: Visual regression tests
jobs:
tests:
Expand All @@ -28,6 +26,12 @@ jobs:
git clone -b 4.x https://github.com/druidfi/stonehenge.git ~/stonehenge
cd ~/stonehenge && make up
- name: Build project
working-directory: ${{ env.DRUPAL_ROOT }}
run: |
composer config repositories.5 path $GITHUB_WORKSPACE
composer require drupal/$THEME_NAME -W
- name: Start project
working-directory: ${{ env.DRUPAL_ROOT }}
run: |
Expand All @@ -43,16 +47,11 @@ jobs:
sleep 2
done
- name: Build project
working-directory: ${{ env.DRUPAL_ROOT }}
run: |
docker compose exec app bash -c "composer config repositories.5 path $GITHUB_WORKSPACE"
docker compose exec app bash -c "composer require drupal/$THEME_NAME -W"
- name: Setup Drupal
working-directory: ${{ env.DRUPAL_ROOT }}
run: |
mkdir public/sites/default/files -p && chmod 777 public/sites/default -R
docker compose exec app bash -c "ls -la public/themes/contrib"
docker compose exec app bash -c "drush si minimal -y"
docker compose exec app bash -c "drush en helfi_test_content -y"
Expand Down

0 comments on commit ff4397c

Please sign in to comment.