Skip to content
Snippets Groups Projects
Commit 1247c790 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

only run tests for root packages

parent 633180f9
No related branches found
No related tags found
No related merge requests found
......@@ -183,7 +183,7 @@ build-spack-env-on-runner:
- . install_spack_env.sh $CI_PROJECT_DIR $SPACK_VERSION $CI_PROJECT_DIR $SPACK_DEV_ENV $SPACK_PATH_GITLAB
# re-activate envionment and run tests
- spack env activate $SPACK_DEV_ENV
- spack test run
- spack test run -x
after_script:
- mkdir -p $CI_PROJECT_DIR/spack_logs/installed $CI_PROJECT_DIR/spack_logs/not_installed
# for succesfully installed packages: keep the spack logs for any package modified during this CI job
......@@ -246,7 +246,7 @@ test-gitlab-spack-instance:
script:
- source $SPACK_PATH_GITLAB/spack/share/spack/setup-env.sh
- spack env activate $SPACK_NFS_ENV
- spack test run
- spack test run -x
after_script:
- if [ -d /tmp/spack_tests ]; then mv /tmp/spack_tests $CI_PROJECT_DIR; fi
artifacts:
......
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