Skip to content

Commit

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

0 comments on commit 556712b

Please sign in to comment.