Skip to content

Commit

Permalink
Build: Kill docker after running tests in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
SverreNystad committed Jan 5, 2024
1 parent 817d4e0 commit 82c8729
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Build docker image
- name: Build docker image and run tests
run: |
cd backend
docker compose build
docker compose up
- name: Run Tests
run: |
cd backend
docker-compose run tutorai python manage.py test
docker compose run tutorai python manage.py test
docker compose down

0 comments on commit 82c8729

Please sign in to comment.