Skip test folders from coverage report

This commit is contained in:
Manuel Cortez 2018-12-30 01:14:41 -06:00
parent 95fdae058d
commit e6da4099ee

View File

@ -33,7 +33,7 @@ test_py3:
script:
- cd src
- '%PYTHON3% -m coverage run run_tests.py'
- '%PYTHON3% -m coverage report'
- '%PYTHON3% -m coverage report --omit="test*"'
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
only:
@ -123,7 +123,7 @@ test_py2:
script:
- cd src
- '%PYTHON2% -m coverage run run_tests.py'
- '%PYTHON2% -m coverage report'
- '%PYTHON2% -m coverage report --omit="*/test*"'
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
only:
- master