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