You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For our test runs we sometimes have several test failure with large tracebacks. It's helpful to get an overview of the failures by scanning the test names, then look into the details of the failures.
This PR adds a folded option which puts the tracebacks in a <details> block. So for a failing test the html will look something like:
I've been searching for a way to hide long tracebacks, just like this. So it would be awesome to have this merged/released!
Is there a way to reference the version from this PR? You can reference a GH action by any ref, but I tried uses: test-summary/action@briangram:folded and uses: test-summary/action@a84d6b8e57758e50ffd188c78066ab4416d8a988 with no luck.
I've been searching for a way to hide long tracebacks, just like this. So it would be awesome to have this merged/released!
Is there a way to reference the version from this PR? You can reference a GH action by any ref, but I tried uses: test-summary/action@briangram:folded and uses: test-summary/action@a84d6b8e57758e50ffd188c78066ab4416d8a988 with no luck.
Give uses: braingram/test-summary-action@dist a try. This repo uses a separate distribution branch. I cobbled together one for my fork while working on the PR. Feel free to use it for testing. I make no promises that it won't suddenly disappear (especially if this PR gets merged) so using it in "production" is "at your own risk". Let me know if you run into any issues or have questions.
Thanks, that works great! And I'll be cautious about using the ephemeral ref. (:
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
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.
Thanks for the useful action!
For our test runs we sometimes have several test failure with large tracebacks. It's helpful to get an overview of the failures by scanning the test names, then look into the details of the failures.
This PR adds a
foldedoption which puts the tracebacks in a<details>block. So for a failing test the html will look something like:Here's a screenshot from an example test run:

and one with the first test expanded:

Please excuse any silly mistakes and any comments suggestions are greatly appreciated. It's the first few lines of typescript I've ever written.
By default the option is off but can be enabled by providing
folded: truein the action configuration.