fix(deps): update dependency drush/drush to v13.0.0 #177
Workflow file for this run
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: Drupal test routine | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'php82' | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
test-suite: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: "0" | |
- name: install Lando | |
run: | | |
wget https://files.lando.dev/installer/lando-x64-stable.deb | |
sudo dpkg --ignore-depends=docker-ce -i lando-x64-stable.deb | |
- name: Report versions | |
run: | | |
docker version | |
docker compose version | |
lando version | |
node -v | |
yarn -v | |
- name: Update codebase to follow CI configuration | |
run: | | |
sed -i -e "/###/d" docker-compose.yml | |
- name: Pull all images | |
run: | | |
docker compose pull --ignore-pull-failures | |
- name: Install test harness | |
run: | | |
yarn add leia-parser mocha chai@4 command-line-test | |
- name: Generate test files | |
run: | | |
yarn leia "TESTING*.md" test -r 2 -s 'Start up tests' -t 'Verification commands' -c 'Destroy tests' --split-file | |
- name: Run docker compose tests | |
run: | | |
yarn mocha --timeout 900000 test/*compose*.func.js | |
# - name: Run Lando tests | |
# timeout-minutes: 10 | |
# continue-on-error: true | |
# run: | | |
# yq e -i '.services.cli.overrides.environment.LANDO_WEBROOT_USER = "runner"' .lando.yml | |
# yq e -i '.services.cli.overrides.environment.LANDO_WEBROOT_GROUP = "docker"' .lando.yml | |
# yq e -i '.services.php.overrides.environment.LANDO_WEBROOT_USER = "runner"' .lando.yml | |
# yq e -i '.services.php.overrides.environment.LANDO_WEBROOT_GROUP = "docker"' .lando.yml | |
# yarn mocha --timeout 900000 test/*lando*.func.js | |
# - name: Show Lando logs | |
# continue-on-error: true | |
# run: | | |
# docker compose -p drupalnextbase logs |