forked from orbit-oss/flask
Merge branch '1.0.x'
This commit is contained in:
commit
29111a3259
8 changed files with 35 additions and 65 deletions
10
tox.ini
10
tox.ini
|
|
@ -33,7 +33,7 @@ commands =
|
|||
pip install -q -e examples/javascript[test]
|
||||
|
||||
# pytest-cov doesn't seem to play nice with -p
|
||||
coverage run -p -m pytest --tb=short {posargs:tests examples}
|
||||
coverage run -p -m pytest --tb=short -Werror {posargs:tests examples}
|
||||
|
||||
[testenv:nightly]
|
||||
# courtesy Python nightly test, don't fail the build in CI
|
||||
|
|
@ -41,7 +41,7 @@ ignore_outcome = true
|
|||
commands =
|
||||
pip install -q -e examples/tutorial[test]
|
||||
pip install -q -e examples/javascript[test]
|
||||
coverage run -p -m pytest --tb=short --junitxml=test-results.xml {posargs:tests examples}
|
||||
coverage run -p -m pytest --tb=short -Werror --junitxml=test-results.xml {posargs:tests examples}
|
||||
|
||||
[testenv:stylecheck]
|
||||
deps = pre-commit
|
||||
|
|
@ -62,13 +62,9 @@ commands =
|
|||
coverage report
|
||||
|
||||
[testenv:coverage-ci]
|
||||
passenv = CODECOV_TOKEN
|
||||
deps =
|
||||
coverage
|
||||
codecov
|
||||
deps = coverage
|
||||
skip_install = true
|
||||
commands =
|
||||
coverage combine
|
||||
codecov
|
||||
coverage xml
|
||||
coverage report
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue