Skip to content

Commit

Permalink
Update to default compose in run-unit-tests github workflow job
Browse files Browse the repository at this point in the history
local.yml was replaced with docker-compose.override.yml which is automatically
applied when no other compose files are specified
  • Loading branch information
arledesma committed Aug 18, 2021
1 parent d8574da commit 1c047d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@ 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
with:
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
Expand Down

0 comments on commit 1c047d5

Please sign in to comment.