forked from schemathesis/schemathesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
38 lines (33 loc) · 819 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[tox]
isolated_build = true
envlist =
pylint,mypy,
py{36,37,38,39},
py3-pytest53
coverage-report
[testenv]
whitelist_externals = poetry
commands =
poetry install -v
coverage run --source=schemathesis -m pytest {posargs:} test
[testenv:py3-pytest53]
commands =
poetry install -v
poetry run pip install "pytest<5.4" "pytest-asyncio<0.11.0"
coverage run --source=schemathesis -m pytest {posargs:} test
[testenv:pylint]
deps = pylint
commands = pylint {posargs:} schemathesis
[testenv:mypy]
deps = mypy
commands = mypy {posargs:} src/schemathesis
[testenv:coverage-report]
description = Report coverage over all measured test runs.
basepython = python3.7
deps = coverage
skip_install = true
depends = py{36,37,38,39}
commands =
coverage combine
coverage report
coverage xml -i {posargs:}