diff --git a/.github/workflows/django-tests.yml b/.github/workflows/django-tests.yml index 3babf0113..c6872f134 100644 --- a/.github/workflows/django-tests.yml +++ b/.github/workflows/django-tests.yml @@ -7,7 +7,7 @@ on: pull_request: env: - DJANGO_SETTINGS_MODULE: sample_project.settings + DJANGO_SETTINGS_MODULE: sample_project.settings_tests jobs: setup: diff --git a/sample_project/settings.py b/sample_project/settings.py index f40fb4976..b5c316620 100644 --- a/sample_project/settings.py +++ b/sample_project/settings.py @@ -44,7 +44,6 @@ # The APIS apps "apis_core.relations", "apis_core.apis_metainfo", - "apis_core.apis_relations", "apis_core.apis_entities", # apis_vocabularies is deprecated, but there are # still migrations depending on it - it will be dropped diff --git a/sample_project/settings_tests.py b/sample_project/settings_tests.py new file mode 100644 index 000000000..606f4b206 --- /dev/null +++ b/sample_project/settings_tests.py @@ -0,0 +1,3 @@ +from .settings import * + +INSTALLED_APPS += ["apis_core.apis_relations"] # noqa: F405