cron #1386
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cron | |
on: | |
schedule: | |
- cron: '0 17 * * *' | |
# 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: Build out the Drupal infrastructure | |
run: | | |
export DB_TYPE=mysql | |
export DB_PORT=3306 | |
git clone --branch 10.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: | | |
export DB_TYPE=mysql | |
export DB_PORT=3306 | |
make drupal_install | |
make drupal_migrate | |
make test |