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

Add coverage baseline support for the full option #91

Open
o-mago opened this issue Jan 12, 2024 · 0 comments
Open

Add coverage baseline support for the full option #91

o-mago opened this issue Jan 12, 2024 · 0 comments

Comments

@o-mago
Copy link

o-mago commented Jan 12, 2024

I think the coverage baseline was planned to work with the full mode:
https://github.com/Azure/gocover/blob/main/pkg/gocover/options.go#L30C35-L30C35

So, it would be nice to make it easier integrate with github actions if it had this option for full mode:
./gocover full --cover-profile=coverage.out --excludes='**/*_mock.gen.go/**' --coverage-baseline=80

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

1 participant