From 85fb97a68a571e11100d6ea9c0db7599213f700a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20=C3=9Cbelacker?= Date: Wed, 5 Jun 2024 00:33:40 +0200 Subject: [PATCH] Include CTestCostData.txt in github actions. --- scripts/github-actions-test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/github-actions-test.sh b/scripts/github-actions-test.sh index 892bb027993..b33166371d1 100755 --- a/scripts/github-actions-test.sh +++ b/scripts/github-actions-test.sh @@ -10,7 +10,11 @@ echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope > /dev/null (echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns) > /dev/null || true let halfproc=`nproc`/2 cd obj +mkdir -p Testing/Temporary +mv ../.buildkite/CTestCostData.txt Testing/Temporary ctest -j$halfproc --verbose +mkdir $GITHUB_WORKSPACE/failed-tests +cp -a Testing/Temporary/CTestCostData.txt $GITHUB_WORKSPACE/failed-tests STATUS=$? if [[ $STATUS != 0 ]]; then