mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-10 19:01:01 +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
|
- name: Run Tests
|
||||||
env:
|
env:
|
||||||
SECRET_KEY: beepbeep
|
SECRET_KEY: beepbeep
|
||||||
DEBUG: true
|
DEBUG: false
|
||||||
DOMAIN: your.domain.here
|
DOMAIN: your.domain.here
|
||||||
BOOKWYRM_DATABASE_BACKEND: postgres
|
BOOKWYRM_DATABASE_BACKEND: postgres
|
||||||
MEDIA_ROOT: images/
|
MEDIA_ROOT: images/
|
||||||
|
@ -53,4 +53,4 @@ jobs:
|
||||||
EMAIL_USE_TLS: true
|
EMAIL_USE_TLS: true
|
||||||
ENABLE_PREVIEW_IMAGES: true
|
ENABLE_PREVIEW_IMAGES: true
|
||||||
run: |
|
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