Skip to content

Commit

Permalink
Include CTestCostData.txt in github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardu committed Jun 4, 2024
1 parent 29e28f9 commit 85fb97a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/github-actions-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85fb97a

Please sign in to comment.