Commit 3d1f9d89 authored by Martin Reinecke's avatar Martin Reinecke

coverage experiment

parent f37f6c9a
Pipeline #29034 canceled with stages
in 6 minutes and 2 seconds
......@@ -33,9 +33,7 @@ test_python2_scalar:
stage: test
script:
- python setup.py install --user -f
- nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase
- >
coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
- nosetests -q
test_python3_scalar:
stage: test
......@@ -55,6 +53,15 @@ test_python3_mpi:
- python3 setup.py install --user -f
- mpiexec -n 2 --bind-to none nosetests3 -q 2> /dev/null
test_coverage:
stage: test
script:
- python setup.py install --user -f
- mpiexec -n 2 --bind-to none nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase 2> /dev/null
- nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase
- >
coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
pages:
stage: release
script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment