From 243e16a105e529fb4eb1e2b9d5a5251e0c6098e6 Mon Sep 17 00:00:00 2001
From: Eleni Mathioulaki <emathioulaki@athenarc.gr>
Date: Fri, 12 Apr 2024 16:32:32 +0200
Subject: [PATCH] DO-NOT-MERGE: test wf-brainscales2-demos in test-build job

---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ae6ea9d0..58817905 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -180,6 +180,7 @@ build-spack-env-on-runner:
     - spack env activate $SPACK_DEV_ENV
     # TODO: run all tests when test dependency issue is fixed
     # - spack test run -x wf-brainscales2-demos wf-multi-area-model
+    - spack test run -x wf-brainscales2-demos
   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
@@ -187,11 +188,11 @@ build-spack-env-on-runner:
     - if cd $PKG_DIR; then find . \( -name ".spack" -o -name ".build" \) -exec cp -r --parents "{}" $CI_PROJECT_DIR/spack_logs/installed \;; fi
       # for not succesfully installed packages: also keep the spack logs for any packages that failed
     - if cd /tmp/$(whoami)/spack-stage/; then find . -maxdepth 2 \( -name "*.txt" -o -name ".install_time_tests" \) -exec cp -r --parents "{}" $CI_PROJECT_DIR/spack_logs/not_installed \;; fi
-    # - 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:
     paths:
       - spack_logs
-      # - spack_tests
+      - spack_tests
     when: always
   timeout: 2 days
   rules:
-- 
GitLab