mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fix coverage reporting
This commit is contained in:
@ -9,8 +9,10 @@ env:
|
||||
|
||||
install:
|
||||
- git submodule update --init --recursive
|
||||
- pip install -U pip setuptools tox codecov
|
||||
- sudo apt-get install -qq lib32z1 lib32ncurses5 lib32bz2-1.0 # temporarily
|
||||
- pip install -U pip setuptools tox
|
||||
|
||||
# temporary hook to fix issue with gcc-pic32
|
||||
- sudo apt-get install -qq lib32z1 lib32ncurses5 lib32bz2-1.0
|
||||
|
||||
script:
|
||||
- tox -e $TOX_ENV
|
||||
|
6
tox.ini
6
tox.ini
@ -57,7 +57,6 @@ usedevelop = True
|
||||
passenv = *
|
||||
deps =
|
||||
pytest
|
||||
pytest-cov
|
||||
commands =
|
||||
{envpython} --version
|
||||
py.test -v --basetemp="{envtmpdir}" tests
|
||||
@ -65,5 +64,8 @@ commands =
|
||||
[testenv:coverage]
|
||||
passenv = *
|
||||
basepython = python2.7
|
||||
deps =
|
||||
pytest
|
||||
pytest-cov
|
||||
commands =
|
||||
py.test --cov=platformio -v tests --ignore=tests/test_examples.py --ignore=tests/test_pkgmanifest.py
|
||||
py.test --cov=platformio --cov-report xml --ignore=tests/test_examples.py --ignore=tests/test_pkgmanifest.py -v tests
|
||||
|
Reference in New Issue
Block a user