WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 52bdf25

Browse files
authored
Set SECRET_KEY for Django test environment
Added SECRET_KEY environment variable for test execution.
1 parent cf63e7e commit 52bdf25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/django.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
mysql -h127.0.0.1 -uroot -e "DROP DATABASE IF EXISTS test_archery;CREATE DATABASE test_archery CHARSET UTF8MB4;"
8282
8383
- name: Run Tests
84+
env:
85+
SECRET_KEY: XViQ1NfutP1RraqhHV3M3akMsB3JWZr9
8486
run: |
8587
python manage.py makemigrations
8688
python manage.py makemigrations sql

0 commit comments

Comments
 (0)