From 4d734d34078fcf0d38d201547d79c4da1b3bea74 Mon Sep 17 00:00:00 2001 From: Jan Lemmer <jan.lemmer@fst.tu-darmstadt.de> Date: Mon, 20 Dec 2021 10:11:47 +0100 Subject: [PATCH] Fix CI-YAML --- .gitlab-ci.yml | 14 ++++++++++++-- CI_files/runner_test.m | 7 ------- 2 files changed, 12 insertions(+), 9 deletions(-) delete mode 100644 CI_files/runner_test.m diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7901609..938d8bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,16 @@ Test Code: stage: Run tags: - matlab + - bash script: - - ./CI_files/runtest.ps1 - - cat log2.txt + - cd ./CI_files + - chmod +x ./runner_linux.sh + - ./runner_linux.sh + - cat ./log.txt + artifacts: + paths: + - ./CI_files/log.txt + - ./CI_files/matlab_log.txt + + when: always + expire_in: 1 week diff --git a/CI_files/runner_test.m b/CI_files/runner_test.m deleted file mode 100644 index 496afd8..0000000 --- a/CI_files/runner_test.m +++ /dev/null @@ -1,7 +0,0 @@ -function [result] = runner_test() -%RUNNER_TEST testing function to test, if the runner is set up properly -result = true; - -exit(result); -end - -- GitLab