Skip test folders from coverage report
This commit is contained in:
parent
95fdae058d
commit
e6da4099ee
@ -33,7 +33,7 @@ test_py3:
|
|||||||
script:
|
script:
|
||||||
- cd src
|
- cd src
|
||||||
- '%PYTHON3% -m coverage run run_tests.py'
|
- '%PYTHON3% -m coverage run run_tests.py'
|
||||||
- '%PYTHON3% -m coverage report'
|
- '%PYTHON3% -m coverage report --omit="test*"'
|
||||||
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
|
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
|
||||||
|
|
||||||
only:
|
only:
|
||||||
@ -123,7 +123,7 @@ test_py2:
|
|||||||
script:
|
script:
|
||||||
- cd src
|
- cd src
|
||||||
- '%PYTHON2% -m coverage run run_tests.py'
|
- '%PYTHON2% -m coverage run run_tests.py'
|
||||||
- '%PYTHON2% -m coverage report'
|
- '%PYTHON2% -m coverage report --omit="*/test*"'
|
||||||
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
|
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user