Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Cobertura and Jacoco Coverage report #275

Open
vaishnavn02 opened this issue Jul 8, 2024 · 1 comment
Open

Support for Cobertura and Jacoco Coverage report #275

vaishnavn02 opened this issue Jul 8, 2024 · 1 comment

Comments

@vaishnavn02
Copy link

Hi

We are currently having the majority of pipelines in Java, the current action is working for React JS pipelines which is able to generate a lcov. For using jacoco reports, is there any workaround we can use to generate the PR annotations

@vitaliimelnychuk

Regards

Vaishnav

@vitaliimelnychuk
Copy link
Member

Hello @vaishnav-canarys, thanks for opening the issue. I think extending the action to work with different types of files makes sense. I'll try to take a look during the weekend as I never used any of these reporters before. If you'd like to contribute to the project meantime, I think you, might want to take a look into https://github.com/barecheck/code-coverage-action/blob/v1/src/index.js#L37 this output, I think we might need to add check for file type and use another parser. Ideally, we would need to have the same structure independently of the file type.

Also, if you're looking to have something working today, I would explore ways to convert Cobertura and Jacoco into Lcov.

@barecheck barecheck deleted a comment from devactivity-app bot Jul 8, 2024
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

No branches or pull requests

2 participants