mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 09:24:52 +03:00
Run tests in parallel with pytest-xdist
This commit is contained in:
parent
5fb1550c71
commit
9862b6ce93
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest tests
|
run: pytest -n auto tests
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
@ -14,6 +14,7 @@ pre-commit==3.2.2
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
tox==4.4.12
|
tox==4.4.12
|
||||||
pytest==7.3.1
|
pytest==7.3.1
|
||||||
|
pytest-xdist==3.2.1
|
||||||
pytest-cookies==0.7.0
|
pytest-cookies==0.7.0
|
||||||
pytest-instafail==0.5.0
|
pytest-instafail==0.5.0
|
||||||
pyyaml==6.0
|
pyyaml==6.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user