Skip to content

feat(composer): Update version in the composer.json file 4.5.4 #56

feat(composer): Update version in the composer.json file 4.5.4

feat(composer): Update version in the composer.json file 4.5.4 #56

Workflow file for this run

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-22.04
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: |
export DB_TYPE=mysql
export DB_PORT=3306
git clone --branch 9.5.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: |
export DB_TYPE=mysql
export DB_PORT=3306
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