Skip to content

Commit ca9da63

Browse files
committed
fixes CI workflow
1 parent db18d9c commit ca9da63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
env:
5656
CELERY_BROKER_URL: redis://redis:6379/0
5757
CELERY_ALWAYS_EAGER: true
58-
DATABASE_URL: postgres:postgres:[email protected]:5432/adminfilters
58+
DATABASE_URL: postgres://postgres:[email protected]:5432/adminfilters
5959
steps:
6060
- uses: actions/checkout@v5
6161
with:

tests/demoapp/demo/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"django.contrib.messages.middleware.MessageMiddleware",
4545
)
4646

47-
DATABASES = {"default": env.db()}
47+
DATABASES = {"default": env.db_url("DATABASE_URL")}
4848
MESSAGE_STORAGE = "django.contrib.messages.storage.cookie.CookieStorage"
4949

5050
ROOT_URLCONF = "demo.urls"

0 commit comments

Comments
 (0)