Skip to content

Commit 9e239f9

Browse files
committed
Try to make flaky tests emit UI warning
1 parent 24730ce commit 9e239f9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,9 @@ jobs:
421421
wasm-pack test --headless --firefox
422422
wasm-pack test --headless --chrome
423423
); then
424-
echo "::warning::Flaky lightclient WASM tests failed"
424+
echo "::warning title=Flaky Test Failure::Flaky lightclient WASM tests failed"
425+
echo "## ⚠️ Flaky Test Warning" >> $GITHUB_STEP_SUMMARY
426+
echo "Lightclient WASM tests failed. These tests are known to be flaky and do not block the PR." >> $GITHUB_STEP_SUMMARY
425427
fi
426428
427429
flaky_lightclient_integration_tests:
@@ -456,7 +458,9 @@ jobs:
456458
if ! (
457459
cargo test -p integration-tests --features light-client-rpc,${{ matrix.feature }}
458460
); then
459-
echo "::warning::Flaky lightclient integration tests failed (${{ matrix.feature }})"
461+
echo "::warning title=Flaky Test Failure::Flaky lightclient integration tests failed (${{ matrix.feature }})"
462+
echo "## ⚠️ Flaky Test Warning" >> $GITHUB_STEP_SUMMARY
463+
echo "Lightclient integration tests failed (feature: ${{ matrix.feature }}). These tests are known to be flaky and do not block the PR." >> $GITHUB_STEP_SUMMARY
460464
fi
461465
462466
nostd_tests:

0 commit comments

Comments
 (0)