Skip to content

Commit

Permalink
exit early in CI on basic failure
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola committed Sep 3, 2024
1 parent a0268ad commit c3dc317
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ mkdir -p $artifacts
# ---

. ./scripts/test-run-basics
echo "Did test-run-basics $?"
tbec=$?
echo "Did test-run-basics $tbec"

if [ "$CI" = 'true' ] && [ $tbec -ne 0 ]; then
early-exit 'test-run-basics failed'
fi

# ---

Expand Down

0 comments on commit c3dc317

Please sign in to comment.