mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 03:21:05 +00:00
Potential speedups
This commit is contained in:
parent
1333b0b3c3
commit
8d476804c2
2 changed files with 16 additions and 2 deletions
4
.github/workflows/django-tests.yml
vendored
4
.github/workflows/django-tests.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Run Tests
|
||||
env:
|
||||
SECRET_KEY: beepbeep
|
||||
DEBUG: true
|
||||
DEBUG: false
|
||||
DOMAIN: your.domain.here
|
||||
BOOKWYRM_DATABASE_BACKEND: postgres
|
||||
MEDIA_ROOT: images/
|
||||
|
@ -53,4 +53,4 @@ jobs:
|
|||
EMAIL_USE_TLS: true
|
||||
ENABLE_PREVIEW_IMAGES: true
|
||||
run: |
|
||||
pytest
|
||||
pytest --reuse-db
|
||||
|
|
14
bookwyrm/test_settings.py
Normal file
14
bookwyrm/test_settings.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
""" bookwyrm settings and configuration """
|
||||
from bookwyrm.settings import *
|
||||
|
||||
MIGRATION_MODULES = {
|
||||
'auth': None,
|
||||
'contenttypes': None,
|
||||
'default': None,
|
||||
'sessions': None,
|
||||
|
||||
'core': None,
|
||||
'profiles': None,
|
||||
'snippets': None,
|
||||
'scaffold_templates': None,
|
||||
}
|
Loading…
Reference in a new issue