Skip to content

Commit

Permalink
Attempt to get the correct WordPress version
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Wiegman committed Apr 10, 2024
1 parent 1bd2108 commit 4f45169
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
sleep 1
done
- name: Ensure Correct WordPress version
run: |
docker exec --workdir=/var/www/html/wp-content/plugins/wp-graphql-content-blocks $(docker-compose ps -q wordpress) wp core version --allow-root
docker exec --workdir=/var/www/html/wp-content/plugins/wp-graphql-content-blocks $(docker-compose ps -q wordpress) wp core download --version=nightly --force --allow-root
docker exec --workdir=/var/www/html/wp-content/plugins/wp-graphql-content-blocks $(docker-compose ps -q wordpress) wp core version --allow-root
- name: Setup testing framework
working-directory: ./
run: docker exec -e COVERAGE=1 $(docker-compose ps -q wordpress) init-testing-environment.sh
Expand Down

0 comments on commit 4f45169

Please sign in to comment.