Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zrr1999 committed Jul 5, 2023
1 parent 98d16f8 commit 189f253
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/run_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ for file in ./*.py; do
python "$file"
if [ $? -ne 0 ]; then
echo "run $file failed"
echo "::error file=examples/$file,line=9,col=5,endColumn=7::Missing semicolon"
exit 1
fi
if [[ -n "$GITHUB_ACTIONS" ]]; then
Expand Down
3 changes: 2 additions & 1 deletion tests/run_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ if [ ${#failed_tests[@]} -ne 0 ]; then
echo "failed tests file:"
for failed_test in "${failed_tests[@]}"; do
echo "$failed_test"
echo "::error file=$failed_test,line=1,col=5,endColumn=7::Missing semicolon"
echo "::error file=tests/$failed_test,line=9,col=5,endColumn=7::Missing semicolon"
done
exit 1
fi

0 comments on commit 189f253

Please sign in to comment.