diff --git a/.github/workflows/automated-tests.yml b/.github/workflows/automated-tests.yml index 8338cb91..d5a4b9ee 100644 --- a/.github/workflows/automated-tests.yml +++ b/.github/workflows/automated-tests.yml @@ -25,15 +25,18 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Build docker image(s) for TESTS + - name: Build docker image(s) run: | ln -s provisioning/container/compose.test.yml compose.yml docker compose build + + - name: Run docker image(s) + run: | docker compose up -d - sleep 10 + sleep 5 -# - name: Check flake8 -# run: docker compose exec tests-dsmr-app poetry run flake8 + - name: Check flake8 + run: docker compose exec tests-dsmr-app poetry run flake8 - name: Run PostgreSQL tests run: docker compose exec tests-dsmr-app poetry run pytest