From 5fc13615405d45d1f6c57333b74721a7b6074e1c Mon Sep 17 00:00:00 2001 From: Logan Davidson Date: Wed, 9 Oct 2024 21:16:47 +0100 Subject: [PATCH] Change to `docker compose` (#523) --- .github/workflows/build_and_test_backend.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_and_test_backend.yml b/.github/workflows/build_and_test_backend.yml index 5e6ecb6f..ddaec11f 100644 --- a/.github/workflows/build_and_test_backend.yml +++ b/.github/workflows/build_and_test_backend.yml @@ -19,16 +19,16 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Start services - run: docker-compose -f backend/docker-compose.test.yml up -d + run: docker compose -f backend/docker-compose.test.yml up -d - name: Wait for services to start run: sleep 10s - name: Check types - run: docker-compose -f backend/docker-compose.test.yml run --rm web mypy . + run: docker compose -f backend/docker-compose.test.yml run --rm web mypy . - name: Run Django tests - run: docker-compose -f backend/docker-compose.test.yml run --rm web python manage.py test + run: docker compose -f backend/docker-compose.test.yml run --rm web python manage.py test - name: Stop services - run: docker-compose -f backend/docker-compose.test.yml down + run: docker compose -f backend/docker-compose.test.yml down