Skip to content

Commit 3a7c789

Browse files
committed
CI: Fix rp2 - PANIC should fail job
https://github.com/petermm/AtomVM/actions/runs/22891950676/job/66417004036 And don't fail-fast Signed-off-by: Peter M <petermm@gmail.com>
1 parent c805acc commit 3a7c789

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/pico-build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
runs-on: ubuntu-24.04
8585
needs: build-atomvmlib
8686
strategy:
87+
fail-fast: false
8788
matrix:
8889
board: ["pico", "pico_w", "pico2", "pico2_w"]
8990
platform: [""]

src/platforms/rp2/tests/run-tests.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,12 @@ mcu.uart[0].onByte = (value) => {
8989
if (char === "\n") {
9090
if (currentLine === "OK" || currentLine === "OK\r") {
9191
process.exit(0);
92-
} else if (currentLine === "FAIL" || currentLine === "FAIL\r") {
92+
} else if (
93+
currentLine === "FAIL" ||
94+
currentLine === "FAIL\r" ||
95+
currentLine === "*** PANIC ***" ||
96+
currentLine === "*** PANIC ***\r"
97+
) {
9398
process.exit(1);
9499
}
95100
currentLine = "";

0 commit comments

Comments
 (0)