Skip to content

Commit

Permalink
chore: output
Browse files Browse the repository at this point in the history
  • Loading branch information
brodeynewman committed Nov 11, 2024
1 parent 16e6dc9 commit dd710f5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/pr-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,19 @@ jobs:
sleep 5
# change the port to our 'test' port
export SCUDA_SERVER=0.0.0.0:14834
./local.sh test && (echo "Tests passed successfully!"; exit 0) || (echo "Tests failed. Exiting..."; exit 1)
test_output=$(./local.sh test)
test_exit_code=$?
if [ $test_exit_code -eq 0 ]; then
echo "Tests passed successfully!"
else
echo "tests failed... Output:"
echo "$test_output"
fi
kill $server_pid
echo "server process terminated."
echo "Server process terminated."
exit 0
Expand Down

0 comments on commit dd710f5

Please sign in to comment.