diff --git a/.github/workflows/pico-build.yaml b/.github/workflows/pico-build.yaml index 599ea4d47..bcd26c5cb 100644 --- a/.github/workflows/pico-build.yaml +++ b/.github/workflows/pico-build.yaml @@ -84,6 +84,7 @@ jobs: runs-on: ubuntu-24.04 needs: build-atomvmlib strategy: + fail-fast: false matrix: board: ["pico", "pico_w", "pico2", "pico2_w"] platform: [""] diff --git a/src/platforms/rp2/tests/run-tests.ts b/src/platforms/rp2/tests/run-tests.ts index 175866a21..aad416c17 100644 --- a/src/platforms/rp2/tests/run-tests.ts +++ b/src/platforms/rp2/tests/run-tests.ts @@ -89,7 +89,12 @@ mcu.uart[0].onByte = (value) => { if (char === "\n") { if (currentLine === "OK" || currentLine === "OK\r") { process.exit(0); - } else if (currentLine === "FAIL" || currentLine === "FAIL\r") { + } else if ( + currentLine === "FAIL" || + currentLine === "FAIL\r" || + currentLine === "*** PANIC ***" || + currentLine === "*** PANIC ***\r" + ) { process.exit(1); } currentLine = "";