Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
0eb0d508
Commit
0eb0d508
authored
May 13, 2018
by
Martin Reinecke
Browse files
coverage experiment
parent
be554676
Pipeline
#29036
passed with stages
in 6 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0eb0d508
...
...
@@ -29,38 +29,23 @@ build_docker_from_cache:
-
docker build -t $CONTAINER_TEST_IMAGE .
-
docker push $CONTAINER_TEST_IMAGE
test_python2_
scalar
:
test_python2_
with_coverage
:
stage
:
test
script
:
-
python setup.py install --user -f
-
nosetests -q
test_python3_scalar
:
stage
:
test
script
:
-
python3 setup.py install --user -f
-
nosetests3 -q
test_python2_mpi
:
stage
:
test
script
:
-
python setup.py install --user -f
-
mpiexec -n 2 --bind-to none nosetests -q 2> /dev/null
-
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 2> /dev/null
-
>
coverage report --omit "*plotting*"
-
>
coverage report --omit "*plotting*" | grep TOTAL | awk '{ print "TOTAL: "$6; }'
test_python3
_mpi
:
test_python3
:
stage
:
test
script
:
-
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
-
>
coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
-
nosetests3 -q
pages
:
stage
:
release
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment