Skip to content

Add a check to see if user is using code-coverage-html or code-coverage-cobertura - #86

Merged
mw-kapilg merged 65 commits into
mainfrom
tarun/fixRelease
Apr 24, 2026
Merged

Add a check to see if user is using code-coverage-html or code-coverage-cobertura#86
mw-kapilg merged 65 commits into
mainfrom
tarun/fixRelease

Conversation

@taguptamw

Copy link
Copy Markdown
Contributor

When code-coverage-html or code-coverage-cobertura report is generated alongside the option code-coverage-metric-level, it errors out with the error message: "Simultaneously generating coverage reports for the same source files is not
supported."
To fix this, I have added a check in my service class to see if the user is using code-coverage-html or code-coverage-cobertura. If so, I will not add the CodeCoveragePlugin again and coverage summary view won’t be generated.

@mw-kapilg mw-kapilg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, thanks!

Comment thread .github/workflows/bat.yml
@mw-kapilg
mw-kapilg merged commit 9db18cc into main Apr 24, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants