Commit af9baf5c authored by Daniel Wortmann's avatar Daniel Wortmann

Update .gitlab-ci.yml to generate artifacts when test fails

parent d2bcd8db
...@@ -31,7 +31,9 @@ test-gfortran: ...@@ -31,7 +31,9 @@ test-gfortran:
script: script:
- ulimit -s unlimited ;export juDFT_MPI="mpirun -n 2 --allow-run-as-root ";cd /builds/fleur/fleur/build;ctest - ulimit -s unlimited ;export juDFT_MPI="mpirun -n 2 --allow-run-as-root ";cd /builds/fleur/fleur/build;ctest
artifacts: artifacts:
when: on_failure
paths: paths:
- build/Testing/fails
- build/Testing/test.oldlogs - build/Testing/test.oldlogs
# only: # only:
# - schedules # - schedules
...@@ -114,6 +116,11 @@ test-intel: ...@@ -114,6 +116,11 @@ test-intel:
script: script:
- set +e && source compilervars.sh intel64 && set -e; ulimit -s unlimited - set +e && source compilervars.sh intel64 && set -e; ulimit -s unlimited
- cd /builds/fleur/fleur/build.intel;ctest - cd /builds/fleur/fleur/build.intel;ctest
artifacts:
when: on_failure
paths:
- build/Testing/fails
- build/Testing/test.oldlogs
only: only:
- schedules - schedules
- web - web
......
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