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

coverage experiment

parent f37f6c9a
Pipeline #29034 canceled with stages
in 6 minutes and 2 seconds
...@@ -33,9 +33,7 @@ test_python2_scalar: ...@@ -33,9 +33,7 @@ test_python2_scalar:
stage: test stage: test
script: script:
- python setup.py install --user -f - python setup.py install --user -f
- nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase - nosetests -q
- >
coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
test_python3_scalar: test_python3_scalar:
stage: test stage: test
...@@ -55,6 +53,15 @@ test_python3_mpi: ...@@ -55,6 +53,15 @@ test_python3_mpi:
- python3 setup.py install --user -f - python3 setup.py install --user -f
- mpiexec -n 2 --bind-to none nosetests3 -q 2> /dev/null - 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: pages:
stage: release stage: release
script: 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