Tried to add coverage reports
This commit is contained in:
parent
875aab7e00
commit
e04691e901
@ -32,7 +32,10 @@ test_py3:
|
|||||||
- '%PYTHON3% -m pip install --upgrade -r requirements.txt'
|
- '%PYTHON3% -m pip install --upgrade -r requirements.txt'
|
||||||
script:
|
script:
|
||||||
- cd src
|
- cd src
|
||||||
- '%PYTHON3% run_tests.py'
|
- '%PYTHON3% -m coverage run_tests.py'
|
||||||
|
- '%PYTHON3% -m coverage report'
|
||||||
|
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
|
||||||
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- tags
|
- tags
|
||||||
@ -119,7 +122,9 @@ test_py2:
|
|||||||
- '%PYTHON2% -m pip install --upgrade -r requirements.txt'
|
- '%PYTHON2% -m pip install --upgrade -r requirements.txt'
|
||||||
script:
|
script:
|
||||||
- cd src
|
- cd src
|
||||||
- '%PYTHON2% run_tests.py'
|
- '%PYTHON2% -m coverage run_tests.py'
|
||||||
|
- '%PYTHON2% -m coverage report'
|
||||||
|
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- tags
|
- tags
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
coverage
|
||||||
wxpython
|
wxpython
|
||||||
requests
|
requests
|
||||||
bs4
|
bs4
|
||||||
|
Loading…
Reference in New Issue
Block a user