Skip to content

Commit 2bcc169

Browse files
author
Sven Van Asbroeck
committed
CI: fail workflow if kernel log contains a WARNING
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]>
1 parent 52db551 commit 2bcc169

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,10 @@ jobs:
252252
| sed s:$'\r'$:: \
253253
| tee qemu-stdout.log
254254
255+
# The kernel should not be generating any warnings
256+
- run: |
257+
! grep '] WARNING:' qemu-stdout.log
258+
255259
# Check
256260
- run: |
257261
grep '] rust_minimal: Rust minimal sample (init)$' qemu-stdout.log

0 commit comments

Comments
 (0)