mirror of
https://github.com/correl/tornado-openapi3.git
synced 2024-11-14 11:09:37 +00:00
Add code coverage reporting
This commit is contained in:
parent
bcf128e69d
commit
2b2b423b7b
3 changed files with 10 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,6 +3,7 @@
|
|||
*.log
|
||||
*.py[cod]
|
||||
*~
|
||||
.coverage
|
||||
.DS_Store
|
||||
.hypothesis
|
||||
.idea
|
||||
|
|
|
@ -16,15 +16,17 @@ openapi-core = "^0.13.4"
|
|||
|
||||
[tool.poetry.dev-dependencies]
|
||||
black = { version = "*", allow-prereleases = true }
|
||||
coverage = "*"
|
||||
mypy = "*"
|
||||
hypothesis = "*"
|
||||
flake8 = "*"
|
||||
pytest = "*"
|
||||
pytest-cov = "*"
|
||||
pytest-flake8 = "*"
|
||||
pytest-mypy = "*"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "--flake8 --mypy"
|
||||
addopts = "--cov=tornado_openapi3 --flake8 --mypy"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry>=0.12"]
|
||||
|
|
7
tox.ini
7
tox.ini
|
@ -7,11 +7,16 @@ deps =
|
|||
tornado4: tornado>=4,<5
|
||||
tornado5: tornado>=5,<6
|
||||
tornado6: tornado>=6,<7
|
||||
codecov
|
||||
mypy
|
||||
hypothesis
|
||||
flake8
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-flake8
|
||||
pytest-mypy
|
||||
passenv = CI TRAVIS TRAVIS_*
|
||||
whitelist_externals = poetry
|
||||
commands = py.test
|
||||
commands =
|
||||
pytest
|
||||
codecov
|
||||
|
|
Loading…
Reference in a new issue