From 1c047d5de4f87d726e2be108f29cf1069f4a3962 Mon Sep 17 00:00:00 2001 From: aledesma Date: Tue, 17 Aug 2021 23:17:16 -0500 Subject: [PATCH] Update to default compose in run-unit-tests github workflow job local.yml was replaced with docker-compose.override.yml which is automatically applied when no other compose files are specified --- .github/workflows/workflow.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 1bb84e0a5..59696152d 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -19,12 +19,12 @@ jobs: run: | shopt -s dotglob mkdir .envs && cp -r .envs_template/* .envs/ - docker-compose -f local.yml build - docker-compose -f local.yml up -d + docker-compose build + docker-compose up -d - name: Bring up environment run: | - docker-compose -f local.yml up -d + docker-compose up -d - name: Wait 60 seconds for database migrations uses: jakejarvis/wait-action@master @@ -32,12 +32,12 @@ jobs: time: '60s' - name: Test seeding database - run: docker-compose -f local.yml run --rm django /seed_data + run: docker-compose run --rm django /seed_data - name: Generate Coverage report run: | - docker-compose -f local.yml run django coverage run manage.py test - docker-compose -f local.yml run django coverage xml -o "coverage/reports/coverage.xml" + docker-compose run django coverage run manage.py test + docker-compose run django coverage xml -o "coverage/reports/coverage.xml" - name: Upload Coverage report artifact uses: actions/upload-artifact@v2