Integrate async tests into main code

This commit is contained in:
Syrus 2020-07-26 20:25:51 -07:00
parent 64af43748c
commit 7e7d3c4e5a
5 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ install-dev:
pip install -e ".[dev]" pip install -e ".[dev]"
test: test:
py.test graphene examples tests_asyncio py.test graphene examples
.PHONY: docs ## Generate docs .PHONY: docs ## Generate docs
docs: install-dev docs: install-dev
@ -20,8 +20,8 @@ docs-live: install-dev
.PHONY: format .PHONY: format
format: format:
black graphene examples setup.py tests_asyncio black graphene examples setup.py
.PHONY: lint .PHONY: lint
lint: lint:
flake8 graphene examples setup.py tests_asyncio flake8 graphene examples setup.py

View File

@ -8,7 +8,7 @@ deps =
setenv = setenv =
PYTHONPATH = .:{envdir} PYTHONPATH = .:{envdir}
commands = commands =
py{36,37}: pytest --cov=graphene graphene examples tests_asyncio {posargs} py{36,37}: pytest --cov=graphene graphene examples {posargs}
[testenv:pre-commit] [testenv:pre-commit]
basepython=python3.7 basepython=python3.7