Potential speedups

This commit is contained in:
Mouse Reeve 2021-08-01 07:38:16 -07:00
parent 1333b0b3c3
commit 8d476804c2
2 changed files with 16 additions and 2 deletions

View file

@ -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
View 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,
}