Skip to content

Commit

Permalink
fix test workflow script
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed Dec 3, 2024
1 parent a746138 commit cbbb7d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/test_subfolders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ for dir in $(find . -name "go.mod" -not -path "./go.mod" -not -path "*/testdata/
done

# Check if any test failed and exit with a non-zero status
if [ "$any_test_failed" -ne 0 ]; then
if [[ "$any_test_failed" -ne 0 ]]; then
echo "The tests did not pass. Please check the errors above."
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/test_subfolders_full.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ for dir in $(find . -name "go.mod" -not -path "./go.mod" -not -path "*/testdata/
done

# Check if any test failed and exit with a non-zero status
if [ "$any_test_failed" -ne 0 ]; then
if [[ "$any_test_failed" -ne 0 ]]; then
echo "The tests did not pass. Please check the errors above."
exit 1
fi
Expand Down

0 comments on commit cbbb7d0

Please sign in to comment.