Skip to content

Commit

Permalink
Fix CI #1594
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Jun 14, 2024
1 parent f3ff212 commit cb8ee39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/automated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
docker-compose build
- name: Check flake8
run: docker compose run tests-dsmr-app poetry run flake8 -v
run: docker compose exec tests-dsmr-app poetry run flake8 -v

- name: Run PostgreSQL tests
run: docker compose run tests-dsmr-app poetry run pytest
run: docker compose exec tests-dsmr-app poetry run pytest
3 changes: 2 additions & 1 deletion provisioning/container/compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
services:
tests-dsmr-app:
container_name: tests-dsmr-app
restart: 'no'
restart: 'unless-stopped'
command: '/app/manage.py runserver 8000' # This is just to make sure the container keeps running.
build:
context: .
dockerfile: provisioning/container/Containerfile-dev
Expand Down

0 comments on commit cb8ee39

Please sign in to comment.