From 9b3e0250d43c7e8dddd682180a2f767fcd1df845 Mon Sep 17 00:00:00 2001 From: Markos Gogoulos Date: Wed, 20 Nov 2024 13:36:58 +0200 Subject: [PATCH] fix: GH action --- .github/workflows/python.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index dc0d8ac23..8ca815d5f 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -5,7 +5,7 @@ on: jobs: build: - name: Build & test via docker-compose + name: Build & test via docker compose runs-on: ubuntu-latest steps: @@ -13,10 +13,10 @@ jobs: uses: actions/checkout@v1 - name: Build the Stack - run: docker-compose -f docker-compose-dev.yaml build + run: docker compose -f docker compose-dev.yaml build - name: Start containers - run: docker-compose -f docker-compose-dev.yaml up -d + run: docker compose -f docker compose-dev.yaml up -d - name: List containers run: docker ps @@ -26,10 +26,10 @@ jobs: shell: bash - name: Run Django Tests - run: docker-compose -f docker-compose-dev.yaml exec --env TESTING=True -T web pytest + run: docker compose -f docker compose-dev.yaml exec --env TESTING=True -T web pytest # Run with coverage, saves report on htmlcov dir - # run: docker-compose -f docker-compose-dev.yaml exec --env TESTING=True -T web pytest --cov --cov-report=html --cov-config=.coveragerc + # run: docker compose -f docker compose-dev.yaml exec --env TESTING=True -T web pytest --cov --cov-report=html --cov-config=.coveragerc - name: Tear down the Stack - run: docker-compose -f docker-compose-dev.yaml down + run: docker compose -f docker compose-dev.yaml down