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

only test wf packages for now

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