diff --git a/.github/workflows/automated-tests.yml b/.github/workflows/automated-tests.yml index a290ef97..daa11225 100644 --- a/.github/workflows/automated-tests.yml +++ b/.github/workflows/automated-tests.yml @@ -33,9 +33,7 @@ jobs: docker-compose build - name: Check flake8 - run: | - cd $GITHUB_WORKSPACE/src/ - docker compose exec -it tests-dsmr-app poetry run flake8 + run: docker compose run -it tests-dsmr-app poetry run flake8 - name: Run SQLite tests run: docker compose run -e DJANGO_DATABASE_ENGINE=django.db.backends.sqlite3 -it tests-dsmr-app poetry run pytest --cov --cov-report=html