From 4de3828664e5dc31125389f76b2ab2d1bcdc4581 Mon Sep 17 00:00:00 2001 From: DrCBeatz Date: Fri, 29 Mar 2024 17:45:20 -0400 Subject: [PATCH] add -T flag to docker-compose for CI script --- .github/workflows/django-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/django-ci.yml b/.github/workflows/django-ci.yml index 20ccdf5..8cf698d 100644 --- a/.github/workflows/django-ci.yml +++ b/.github/workflows/django-ci.yml @@ -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