Skip to content

Commit

Permalink
Merge pull request #292 from wp-graphql/chore/fix-docker-commands
Browse files Browse the repository at this point in the history
chore: update test workflow to use `docker compose` instead of `docker-compose`
  • Loading branch information
jasonbahl authored Aug 27, 2024
2 parents 165d3e5 + 2ca9004 commit b3fec03
Show file tree
Hide file tree
Showing 3 changed files with 6,810 additions and 3,391 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests-wordpress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
PHP_VERSION: ${{ matrix.php }}
WP_VERSION: ${{ matrix.wordpress }}
run: |
docker-compose build \
docker compose build \
--build-arg WP_VERSION=${{ matrix.wordpress }} \
--build-arg PHP_VERSION=${{ matrix.php }} \
--build-arg DOCKER_REGISTRY=ghcr.io/wp-graphql/
Expand All @@ -66,7 +66,7 @@ jobs:
run: composer update

- name: Run acceptance, functional tests
run: docker-compose run -e DEBUG=1 -e WPGRAPHQL_VERSION=${{matrix.wpgraphql_version}} testing
run: docker compose run -e DEBUG=1 -e WPGRAPHQL_VERSION=${{matrix.wpgraphql_version}} testing
env:
WP_VERSION: ${{ matrix.wordpress }}
PHP_VERSION: ${{ matrix.php }}
Expand Down
Loading

0 comments on commit b3fec03

Please sign in to comment.