Skip to content

Conversation

cwillisf
Copy link
Contributor

@cwillisf cwillisf commented Sep 10, 2025

Resolves

Proposed Changes

Use EnricoMi/publish-unit-test-result-action to report the details of test results more visibly, including GHA annotations.

Reason for Changes

Contributors who aren't part of the scratchfoundation GitHub organization can see when a GHA workflow job fails, but they can't see the full logs. Seeing that a job failed doesn't help much if you can't tell why it failed, especially considering that we sometimes have flaky tests, chromedriver trouble, or other test failures that aren't the fault of a PR. This change allows folks to see the specific reason for a test failure and determine whether or not it's related to their changes.

Test Coverage

Here's a run with some intentional test failures: https://github.com/scratchfoundation/scratch-editor/actions/runs/17619379994

This PR also includes some comments generated by the test results reporter. The reporter updated the comments to reflect that the tests have been "fixed" (the intentional failures have been removed), but the earlier version is available through GitHub's comment history feature.

Copy link

github-actions bot commented Sep 10, 2025

Test report for scratch-svg-renderer

  1 files   60 suites   0s ⏱️
124 tests 124 ✅ 0 💤 0 ❌
276 runs  275 ✅ 1 💤 0 ❌

Results for commit 44cb5f9.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Sep 10, 2025

Test report for scratch-vm

    1 files    770 suites   1m 6s ⏱️
1 686 tests 1 686 ✅  0 💤 0 ❌
4 891 runs  4 861 ✅ 30 💤 0 ❌

Results for commit 44cb5f9.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Sep 10, 2025

Test report for scratch-render

  1 files   55 suites   2s ⏱️
209 tests 209 ✅ 0 💤 0 ❌
279 runs  279 ✅ 0 💤 0 ❌

Results for commit 44cb5f9.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Sep 10, 2025

Test report for scratch-gui

  2 files   61 suites   8m 52s ⏱️
389 tests 380 ✅ 9 💤 0 ❌
407 runs  398 ✅ 9 💤 0 ❌

Results for commit 44cb5f9.

♻️ This comment has been updated with latest results.

@cwillisf cwillisf force-pushed the make-test-failures-visible branch from f45a732 to 44cb5f9 Compare September 10, 2025 16:08
@cwillisf cwillisf marked this pull request as ready for review September 10, 2025 16:22
@cwillisf cwillisf requested a review from a team as a code owner September 10, 2025 16:22
@cwillisf cwillisf added this pull request to the merge queue Sep 12, 2025
Merged via the queue into develop with commit 241b036 Sep 12, 2025
18 checks passed
@cwillisf cwillisf deleted the make-test-failures-visible branch September 12, 2025 14:52
@github-actions github-actions bot locked and limited conversation to collaborators Sep 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants