From 1e9e9c4f1a2cdc5fbe72cd654b8122c08cc849a5 Mon Sep 17 00:00:00 2001 From: Brodey Newman Date: Mon, 11 Nov 2024 02:53:23 +0000 Subject: [PATCH] chore: return 1 --- .github/workflows/pr-test.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-test.yaml b/.github/workflows/pr-test.yaml index a43095f..ad0c648 100644 --- a/.github/workflows/pr-test.yaml +++ b/.github/workflows/pr-test.yaml @@ -41,10 +41,13 @@ jobs: if [ $test_exit_code -eq 0 ]; then echo "Tests passed successfully!" else - echo "tests failed... Output:" + echo "Tests failed... Output:" echo "$test_output" fi + kill $(ps aux | grep '[s]cuda' | awk '{print $2}') + echo "server process and its children terminated. exiting..." + exit $test_exit_code EOF