From d991fa76adf91ed6220fde98a5ab9f1eaf684736 Mon Sep 17 00:00:00 2001 From: Dennis Siemensma Date: Mon, 10 Jun 2024 20:52:38 +0200 Subject: [PATCH] CI: Fix flake8 in container #1196 --- .github/workflows/automated-tests.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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