Skip to content

Commit b3fec03

Browse files
authored
Merge pull request #292 from wp-graphql/chore/fix-docker-commands
chore: update test workflow to use `docker compose` instead of `docker-compose`
2 parents 165d3e5 + 2ca9004 commit b3fec03

File tree

3 files changed

+6810
-3391
lines changed

3 files changed

+6810
-3391
lines changed

.github/workflows/tests-wordpress.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
PHP_VERSION: ${{ matrix.php }}
4141
WP_VERSION: ${{ matrix.wordpress }}
4242
run: |
43-
docker-compose build \
43+
docker compose build \
4444
--build-arg WP_VERSION=${{ matrix.wordpress }} \
4545
--build-arg PHP_VERSION=${{ matrix.php }} \
4646
--build-arg DOCKER_REGISTRY=ghcr.io/wp-graphql/
@@ -66,7 +66,7 @@ jobs:
6666
run: composer update
6767

6868
- name: Run acceptance, functional tests
69-
run: docker-compose run -e DEBUG=1 -e WPGRAPHQL_VERSION=${{matrix.wpgraphql_version}} testing
69+
run: docker compose run -e DEBUG=1 -e WPGRAPHQL_VERSION=${{matrix.wpgraphql_version}} testing
7070
env:
7171
WP_VERSION: ${{ matrix.wordpress }}
7272
PHP_VERSION: ${{ matrix.php }}

0 commit comments

Comments
 (0)