diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b8e9bbb..d3563c8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,6 +40,7 @@ jobs: - name: Run autotests env: PARROT_DB_HOST: postgres + PARROT_SECRET_KEY: secret run: | poetry run pytest --cov=./ --cov-report=xml diff --git a/parrot/settings.py b/parrot/settings.py index ba1051a..b55cf2d 100644 --- a/parrot/settings.py +++ b/parrot/settings.py @@ -5,7 +5,7 @@ BASE_DIR = Path(__file__).parent.parent -SECRET_KEY = '^c!x7!qejlut8=d3=mls9c%u-+(8t#&cfap5#=w%10t@&*b4=6' +SECRET_KEY = env('PARROT_SECRET_KEY') DEBUG = env.bool('DEBUG', False)