readd settings for the github tests
This commit is contained in:
parent
be38613324
commit
62c93019c3
|
@ -26,7 +26,7 @@ jobs:
|
|||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest -nauto --ds=network_inventory.settings.local --nomigrations
|
||||
pytest -nauto --ds=network_inventory.settings.ram_test --nomigrations
|
||||
|
||||
publish:
|
||||
# Ensure test job passes before pushing image.
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
from .base import *
|
||||
|
||||
# SECURITY WARNING: keep the secret key used in production secret!
|
||||
SECRET_KEY = 'development_key'
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
CRISPY_FAIL_SILENTLY = not DEBUG
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': ':memory:',
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue