From 6c562dfd84d2a78dec856a6f0cf674db03848f62 Mon Sep 17 00:00:00 2001 From: cheese3660 Date: Sun, 14 Jan 2024 00:08:02 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 928a9c7..cb929b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,9 +23,10 @@ jobs: id: run-tests run: | pushd ./build/bin/tests/Release/PremonitionPreTester/Release/net6.0/ - result=$(./PremonitionPreTester) + ./PremonitionPreTester + $result=$(cat result) popd - if [ "$result" == "0" ] then + if [ "$result" == "SUCCESS" ] then echo "Tests ran successfully" else echo "Tests failed"