Skip to content

Commit

Permalink
Handled non-zero return code - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
RafikFarhad committed Nov 12, 2023
1 parent 556712b commit 4c61bec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/entrypoint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
INPUT_EXCLUDES: 'examples/file2.c'
INPUT_STYLE: "LLVM"
run: |
./entrypoint.sh | tee > output || true
./entrypoint.sh > output || true
cat output
grep -q "Checking file: ./examples/file1.c" output
if [ $? -ne 0 ]; then
echo "file1.c should be checked"
Expand Down

0 comments on commit 4c61bec

Please sign in to comment.