Skip to content

Commit

Permalink
temporary make hope/aurora not optional
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Nov 30, 2024
1 parent db072a7 commit dbd07a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
DATABASE_URL: postgres://postgres:postgres@localhost:15432/country_workspace
CELERY_BROKER_URL: redis://localhost:16379/1
CACHE_URL: redis://localhost:16379/1
CACHE_URL: redis://localhost:16379/2
DOCKER_BUILDKIT: 1
steps:
- name: Checkout code
Expand Down
4 changes: 3 additions & 1 deletion src/country_workspace/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@
"country_workspace.security",
"country_workspace.apps.Config",
"country_workspace.workspaces.apps.Config",
"country_workspace.contrib.aurora.apps.Config",
"country_workspace.versioning",
# these should be optional in the future
"country_workspace.contrib.hope.apps.Config",
"country_workspace.contrib.aurora.apps.Config",
*env("EXTRA_APPS"),
)

Expand Down
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def pytest_configure(config):
os.environ["CELERY_TASK_ALWAYS_EAGER"] = "1"
os.environ["CELERY_TASK_STORE_EAGER_RESULT"] = "1"
os.environ["SECURE_HSTS_PRELOAD"] = "0"
os.environ["EXTRA_APPS"] = "country_workspace.contrib.hope"
os.environ["HOPE_API_URL"] = "https://dev-hope.unitst.org/api/rest/"
os.environ["HOPE_API_TOKEN"] = "kugiugiuygiuygiuygiuhgiuhgiuhgiugiu"
os.environ["AURORA_API_URL"] = "https://aurora.io/api/"
Expand Down

0 comments on commit dbd07a6

Please sign in to comment.