diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index b1ce6487..b0b0ab28 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -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