forked from mirrors/bookwyrm
Try running tests in parellel
This commit is contained in:
parent
8d476804c2
commit
1791b5b9fa
3 changed files with 2 additions and 15 deletions
2
.github/workflows/django-tests.yml
vendored
2
.github/workflows/django-tests.yml
vendored
|
@ -53,4 +53,4 @@ jobs:
|
||||||
EMAIL_USE_TLS: true
|
EMAIL_USE_TLS: true
|
||||||
ENABLE_PREVIEW_IMAGES: true
|
ENABLE_PREVIEW_IMAGES: true
|
||||||
run: |
|
run: |
|
||||||
pytest --reuse-db
|
pytest -n 3
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
""" 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,
|
|
||||||
}
|
|
|
@ -21,3 +21,4 @@ coverage==5.1
|
||||||
pytest-django==4.1.0
|
pytest-django==4.1.0
|
||||||
pytest==6.1.2
|
pytest==6.1.2
|
||||||
pytest-cov==2.10.1
|
pytest-cov==2.10.1
|
||||||
|
pytest-xdist==2.3.0
|
||||||
|
|
Loading…
Reference in a new issue