-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 1010 Bytes
/
tag.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: tag
on:
push:
tags:
- '*'
# Environment variables available to all jobs and steps in this workflow
env:
COMPOSER_MEMORY_LIMIT: -1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Export github reference var
run: echo "GITHUB_REFERENCE=$(echo ${GITHUB_REF#refs/tags/})" >> $GITHUB_ENV
- uses: statcan/actions/composer@master
with:
args: require drupalwxt/wxt:${{ env.GITHUB_REFERENCE }}
- name: Build out the Drupal infrastructure
run: |
git clone --branch 9.2.x https://github.com/drupalwxt/docker-scaffold.git docker
make build
docker-compose -f docker-compose-ci.yml up -d
docker ps -a
sleep 10
- name: Run installation and tests
run: |
make drupal_install
make drupal_migrate
# Change ownership on html/core to allow files to be copied (see drupal_cs in Makefile)
sudo chown -R $(id -u) html/core
make test