Skip to content

Commit 70a2bab

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 e3e46dc commit 70a2bab

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
@@ -223,6 +223,10 @@ jobs:
223223
| sed s:$'\r'$:: \
224224
| tee qemu-stdout.log
225225
226+
# the kernel should not be generating any warnings
227+
- run: |
228+
grep -L '] WARNING:' qemu-stdout.log
229+
226230
# Check
227231
- run: |
228232
grep '] rust_minimal: Rust minimal sample (init)$' qemu-stdout.log

0 commit comments

Comments
 (0)