mirror of
https://github.com/correl/tornado-openapi3.git
synced 2024-11-23 11:09:56 +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
|
*.log
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
*~
|
*~
|
||||||
|
.coverage
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.hypothesis
|
.hypothesis
|
||||||
.idea
|
.idea
|
||||||
|
|
|
@ -16,15 +16,17 @@ openapi-core = "^0.13.4"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
black = { version = "*", allow-prereleases = true }
|
black = { version = "*", allow-prereleases = true }
|
||||||
|
coverage = "*"
|
||||||
mypy = "*"
|
mypy = "*"
|
||||||
hypothesis = "*"
|
hypothesis = "*"
|
||||||
flake8 = "*"
|
flake8 = "*"
|
||||||
pytest = "*"
|
pytest = "*"
|
||||||
|
pytest-cov = "*"
|
||||||
pytest-flake8 = "*"
|
pytest-flake8 = "*"
|
||||||
pytest-mypy = "*"
|
pytest-mypy = "*"
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
addopts = "--flake8 --mypy"
|
addopts = "--cov=tornado_openapi3 --flake8 --mypy"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry>=0.12"]
|
requires = ["poetry>=0.12"]
|
||||||
|
|
7
tox.ini
7
tox.ini
|
@ -7,11 +7,16 @@ deps =
|
||||||
tornado4: tornado>=4,<5
|
tornado4: tornado>=4,<5
|
||||||
tornado5: tornado>=5,<6
|
tornado5: tornado>=5,<6
|
||||||
tornado6: tornado>=6,<7
|
tornado6: tornado>=6,<7
|
||||||
|
codecov
|
||||||
mypy
|
mypy
|
||||||
hypothesis
|
hypothesis
|
||||||
flake8
|
flake8
|
||||||
pytest
|
pytest
|
||||||
|
pytest-cov
|
||||||
pytest-flake8
|
pytest-flake8
|
||||||
pytest-mypy
|
pytest-mypy
|
||||||
|
passenv = CI TRAVIS TRAVIS_*
|
||||||
whitelist_externals = poetry
|
whitelist_externals = poetry
|
||||||
commands = py.test
|
commands =
|
||||||
|
pytest
|
||||||
|
codecov
|
||||||
|
|
Loading…
Reference in a new issue