Skip to content

Commit

Permalink
CI: Try to fix container tests #1196
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Jun 10, 2024
1 parent e113698 commit 0c2e954
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/automated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
docker-compose build
- name: Check flake8
run: docker compose exec tests-dsmr-app poetry run flake8
run: docker compose run tests-dsmr-app flake8

- name: Run PostgreSQL tests
run: docker compose run tests-dsmr-app poetry run pytest --cov --cov-report=html
run: docker compose run tests-dsmr-app pytest
2 changes: 1 addition & 1 deletion .idea/runConfigurations/Docker__Black_reformat.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/Docker__Flake8.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/Docker__MyPy.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/Docker__Poetry_update.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion provisioning/container/Containerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ENTRYPOINT poetry run python manage.py runserver 0.0.0.0:8000

FROM local-dsmrreader-dev AS local-dsmrreader-test
EXPOSE ""
ENTRYPOINT poetry check
ENTRYPOINT ["poetry", "run"]


# -----------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions provisioning/container/compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
services:
tests-dsmr-app:
container_name: tests-dsmr-app

restart: 'no'
build:
context: .
Expand Down
2 changes: 1 addition & 1 deletion src/dsmrreader/locales/nl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: DSMR-reader\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-05 22:21+0200\n"
"POT-Creation-Date: 2024-06-10 21:18+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: Dennis Siemensma <[email protected]>\n"
"Language-Team: Dennis Siemensma <[email protected]>\n"
Expand Down

0 comments on commit 0c2e954

Please sign in to comment.