fix(deps): update dependency johnpbloch/wordpress to v6.7.0 (#116) #122
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: Wordpress test routine | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'dev' | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
test-suite: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: "0" | |
- name: Report versions | |
run: | | |
docker version | |
docker compose version | |
node -v | |
yarn -v | |
- name: get user ids | |
run: | | |
ls -al . | |
whoami | |
id | |
id -u | |
id -g | |
getent group $(id -g) | |
groups | |
- 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 |