mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Add code coverage for tests (excluding ptvsd.server and pydevd).
Fix some issues on Python 2.7. Remove dead code.
This commit is contained in:
parent
b7c48cc9fe
commit
0825dbeb37
12 changed files with 59 additions and 63 deletions
7
tox.ini
7
tox.ini
|
|
@ -1,8 +1,11 @@
|
|||
[tox]
|
||||
envlist = py{27,34,35,36,37}
|
||||
envlist = py{27,34,35,36,37}{,-cov}
|
||||
|
||||
[testenv]
|
||||
deps = -rtests/requirements.txt
|
||||
passenv = PTVSD_LOG_DIR
|
||||
setenv =
|
||||
PTVSD_TEST=1
|
||||
commands =
|
||||
pytest {posargs:-n8}
|
||||
!cov: pytest {posargs}
|
||||
cov: pytest --cov --cov-append --cov-config=.coveragerc {posargs}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue