Skip to content

Commit

Permalink
CI: fail workflow if kernel log contains a WARNING
Browse files Browse the repository at this point in the history
Pull Requests should not introduce any kernel warnings. Fail the
workflow if warnings are spotted in the log.

Signed-off-by: Sven Van Asbroeck <[email protected]>
  • Loading branch information
Sven Van Asbroeck committed May 12, 2021
1 parent 52db551 commit 2bcc169
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ jobs:
| sed s:$'\r'$:: \
| tee qemu-stdout.log
# The kernel should not be generating any warnings
- run: |
! grep '] WARNING:' qemu-stdout.log
# Check
- run: |
grep '] rust_minimal: Rust minimal sample (init)$' qemu-stdout.log
Expand Down

0 comments on commit 2bcc169

Please sign in to comment.