diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 962dda8..3db1247 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -41,4 +41,4 @@ jobs: DB_PASSWORD: 'testrunner' DB_PORT: 5433 run: | - cd ${{ gitea.workspace }} && python3 manage.py test --settings=impuls.settings-ci + cd ${{ gitea.workspace }} && python3 manage.py test --settings=mysteriendrama.settings-ci diff --git a/mysteriendrama/settings-ci.py b/mysteriendrama/settings-ci.py index 3bddfd4..1e5ad4e 100644 --- a/mysteriendrama/settings-ci.py +++ b/mysteriendrama/settings-ci.py @@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/4.2/ref/settings/ """ from pathlib import Path +import os # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent