CI: Use native ERT JUnit Reporting#659
Merged
Merged
Conversation
xenodium
approved these changes
Jun 17, 2026
xenodium
left a comment
Owner
There was a problem hiding this comment.
Lovely! Thank you for looking into it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I originally couldn't get native JUnit reporting to produce a file, so I fell back to
ert-junit, which is unmaintained and crashes when a test errors, sotest-results.xmlwas never generated on those runs. As it turns out native JUnit was fine all along, I just wasn't setting the output name viaert-load-file-name(theEMACS_TEST_JUNIT_REPORTenv var enables it but doesn't control the filename). This PR dropsert-junitand uses the built-in reporter.Also, in
test-report.yml,dorny/test-reporter@v3defaultsuse-actions-summary: true, which doesn't attach the test report to the commit so you have to go digging for it. Setting it to false fixes this. NOTE: this will only take effect once it's onmain.What Passing tests will look like when you click on the checkbox next to the commit:

Failing tests:

Checklist
M-x checkdocandM-x byte-compile-file.