Commit 5a98bc9a authored by Martin Reinecke's avatar Martin Reinecke
Browse files

try to speed up tests

parent 793b43ee
Pipeline #26907 canceled with stage
in 3 minutes and 41 seconds
...@@ -7,27 +7,32 @@ stages: ...@@ -7,27 +7,32 @@ stages:
variables: variables:
DOCKER_DRIVER: overlay DOCKER_DRIVER: overlay
test_python2: test_scalar:
stage: test stage: test
script: script:
- pip install --user . - pip install --user .
- OMP_NUM_THREADS=1 mpiexec -n 2 nosetests -q 2>/dev/null - pip3 install --user .
- OMP_NUM_THREADS=1 mpiexec -n 2 nosetests -q
- nosetests3 -q
- nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase - nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase
- > - >
coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }' coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
test_python3: test_mpi:
stage: test stage: test
script: script:
- pip install --user .
- pip3 install --user . - pip3 install --user .
- nosetests3 -q - OMP_NUM_THREADS=1 mpiexec -n 2 nosetests -q
- OMP_NUM_THREADS=1 mpiexec -n 2 nosetests3 -q 2>/dev/null - OMP_NUM_THREADS=1 mpiexec -n 2 nosetests3 -q
only:
- NIFTy_4
pages: pages:
stage: release stage: release
script: script:
- pip install --user . - pip install --user .
- sh docs/generate.sh > /dev/null - sh docs/generate.sh
- mv docs/build/ public/ - mv docs/build/ public/
artifacts: artifacts:
paths: paths:
......
Supports Markdown
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