mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-22 06:20:33 +03:00
Add new tests-repeat command to Makefile to be able to run unit tests multiple times + in parallel in one shot
This commit is contained in:
parent
988b30845d
commit
cb92d6e685
4
Makefile
4
Makefile
|
@ -12,6 +12,10 @@ dev-setup:
|
||||||
tests:
|
tests:
|
||||||
PYTHONPATH=. pytest graphene_django --cov=graphene_django -vv
|
PYTHONPATH=. pytest graphene_django --cov=graphene_django -vv
|
||||||
|
|
||||||
|
.PHONY: tests-repeat ## Run unit tests 100 times to possibly identify flaky unit tests (and run them in parallel)
|
||||||
|
tests-repeat:
|
||||||
|
PYTHONPATH=. pytest graphene_django --cov=graphene_django -vv --count 100 -n logical
|
||||||
|
|
||||||
.PHONY: format ## Format code
|
.PHONY: format ## Format code
|
||||||
format:
|
format:
|
||||||
black graphene_django examples setup.py
|
black graphene_django examples setup.py
|
||||||
|
|
Loading…
Reference in New Issue
Block a user