From 789593bab74d5ae1ab49c412d055bde02171ff0a Mon Sep 17 00:00:00 2001 From: Jack Michaud Date: Mon, 2 Jan 2023 20:37:34 -0500 Subject: [PATCH] fix: contract test script should fail when pytest fails --- scripts/oasst-shared-development/test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/oasst-shared-development/test.sh b/scripts/oasst-shared-development/test.sh index e9324196..fcf94beb 100755 --- a/scripts/oasst-shared-development/test.sh +++ b/scripts/oasst-shared-development/test.sh @@ -4,6 +4,8 @@ parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) # switch to backend directory pushd "$parent_path/../../oasst-shared" +set -xe + pytest . popd