From 17f9682aabed377a2906b29d4045577844506aac Mon Sep 17 00:00:00 2001 From: bcj Date: Thu, 3 Jun 2021 08:46:32 -0500 Subject: [PATCH] Testfixes: Remove extra space + hopefully fix env --- .github/workflows/django-tests.yml | 3 ++- celerywyrm/settings.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/django-tests.yml b/.github/workflows/django-tests.yml index 3ce368ecd..75c1c4b41 100644 --- a/.github/workflows/django-tests.yml +++ b/.github/workflows/django-tests.yml @@ -58,7 +58,8 @@ jobs: POSTGRES_DB: github_actions POSTGRES_HOST: 127.0.0.1 CELERY_BROKER: "" - CELERY_RESULT_BACKEND: "" + REDIS_BROKER_PORT: 6379 + FLOWER_PORT: 8888 EMAIL_HOST: "smtp.mailgun.org" EMAIL_PORT: 587 EMAIL_HOST_USER: "" diff --git a/celerywyrm/settings.py b/celerywyrm/settings.py index 63a6e9409..107a39572 100644 --- a/celerywyrm/settings.py +++ b/celerywyrm/settings.py @@ -1,7 +1,7 @@ """ bookwyrm settings and configuration """ from bookwyrm.settings import * -CELERY_BROKER_URL = CELERY_BROKER +CELERY_BROKER_URL = CELERY_BROKER CELERY_ACCEPT_CONTENT = ["json"] CELERY_TASK_SERIALIZER = "json" FLOWER_PORT = env("FLOWER_PORT")