Skip to content

Commit 789593b

Browse files
committed
fix: contract test script should fail when pytest fails
1 parent c2a5e08 commit 789593b

File tree

1 file changed

+2
-0
lines changed
  • scripts/oasst-shared-development

1 file changed

+2
-0
lines changed

scripts/oasst-shared-development/test.sh

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
44
# switch to backend directory
55
pushd "$parent_path/../../oasst-shared"
66

7+
set -xe
8+
79
pytest .
810

911
popd

0 commit comments

Comments
 (0)