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 Apr 20, 2021
1 parent e3e46dc commit 70a2bab
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 @@ -223,6 +223,10 @@ jobs:
| sed s:$'\r'$:: \
| tee qemu-stdout.log
# the kernel should not be generating any warnings
- run: |
grep -L '] WARNING:' qemu-stdout.log
# Check
- run: |
grep '] rust_minimal: Rust minimal sample (init)$' qemu-stdout.log
Expand Down

0 comments on commit 70a2bab

Please sign in to comment.