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
This file contains 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
This adds an option name which can be used to parse and report several coverage-reports within the same workflow / within the same PR (previously, the comment would've been overwritten with the latest report).
wow nice this is great! Thanks for doing this. Quick question i have regarding thresholds, would setting coverage thresholds in vitest still make the status function correctly for each report?
@aprehatny : Sure, you're welcome. I'll probably merge this in tomorrow or Monday and do a new release then (so v2.1.0).
Regarding your question: If you specify the thresholds in the vitest-config, it should work out of the box.
If you have to distinct vitest-configs for each of your test-suites (so ts and tsx), then you'll have to provide the vite-config-path-option to the individual step and it will get parsed correctly.
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.
This adds an option
name
which can be used to parse and report several coverage-reports within the same workflow / within the same PR (previously, the comment would've been overwritten with the latest report).Fixes #231