From beb4a16911092105f84d8ca34e3fb29d6d6a19ad Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Fri, 13 Sep 2024 12:03:30 +0200 Subject: [PATCH] fix: Fix workflows so they stop failing when starting Docker Compose env https://github.blog/changelog/2024-04-10-github-hosted-runner-images-deprecation-notice-docker-compose-v1/ --- .github/workflows/CI.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3d28de2..750bc22 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -86,17 +86,17 @@ jobs: run: composer install --no-interaction --prefer-dist - name: Start stack run: | - docker-compose up -d + docker compose up -d sleep 10 docker ps -a env: PHP_VERSION: ${{ matrix.php }} - name: Tests with Redis - run: docker-compose exec -T phpunit env ADAPTER=redis vendor/bin/phpunit --testsuite=functionnal + run: docker compose exec -T phpunit env ADAPTER=redis vendor/bin/phpunit --testsuite=functionnal env: PHP_VERSION: ${{ matrix.php }} - name: Tests with APCU - run: docker-compose exec -T phpunit env ADAPTER=apcu vendor/bin/phpunit --testsuite=functionnal + run: docker compose exec -T phpunit env ADAPTER=apcu vendor/bin/phpunit --testsuite=functionnal env: PHP_VERSION: ${{ matrix.php }} code_quality: