mirror of
https://github.com/Findus23/acronomy.git
synced 2024-09-19 15:33:45 +02:00
add secrets for tests
This commit is contained in:
parent
1f8e53eaa8
commit
c162eba316
2 changed files with 15 additions and 0 deletions
|
@ -7,6 +7,7 @@ cache:
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- python -V # Print out python version for debugging
|
- python -V # Print out python version for debugging
|
||||||
|
- cp acronomy/secrets.test.py acronomy/secrets.py
|
||||||
- pip install poetry
|
- pip install poetry
|
||||||
- poetry install
|
- poetry install
|
||||||
|
|
||||||
|
|
14
acronomy/secrets.test.py
Normal file
14
acronomy/secrets.test.py
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# SECURITY WARNING: keep the secret key used in production secret!
|
||||||
|
SECRET_KEY = 'just-a-testkey'
|
||||||
|
|
||||||
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
|
DEBUG = True
|
||||||
|
Production = False
|
||||||
|
|
||||||
|
ADS_AUTH_TOKEN = None
|
||||||
|
DATABASES = {
|
||||||
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
MATOMO_API_KEY = None
|
Loading…
Reference in a new issue