Skip to content

Commit

Permalink
add -T flag to docker-compose for CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
DrCBeatz committed Mar 29, 2024
1 parent fb84bc5 commit 4de3828
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/django-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ jobs:
run: docker-compose run web pytest

- name: Add MDB API Key
run: docker-compose exec web python manage.py addapikey
run: docker-compose exec -T web python manage.py addapikey

- name: Run frontend tests
run: |
docker-compose exec web bash -c "cd frontend && npm install && npm run test"
docker-compose exec -T web bash -c "cd frontend && npm install && npm run test"
- name: Remove MDB API Key
run: docker-compose exec web python manage.py removeapikey
run: docker-compose exec -T web python manage.py removeapikey

- name: Clean up
run: docker-compose down

0 comments on commit 4de3828

Please sign in to comment.