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

Exclude test classes from Codecov reports #2820

Closed
Coduz opened this issue Jan 13, 2020 · 0 comments · Fixed by #2824
Closed

Exclude test classes from Codecov reports #2820

Coduz opened this issue Jan 13, 2020 · 0 comments · Fixed by #2824
Assignees
Labels
Test Test related stuff. It's a dirty job, but someone needs to do that!

Comments

@Coduz
Copy link
Contributor

Coduz commented Jan 13, 2020

Is your feature request related to a problem? Please describe.
Codecov by default excludes sources under src/main/test from the coverage reports, but we have some modules used for testing that have code under src/main/java and also we have whole modules for integration testing and that code is currently counted in the report as missing code to be covered by test.

Describe the solution you'd like
Using the codecov.yml exclude those path from the Codecov report.
Path to be excluded:

  • /qa
  • **/test/
  • **/test-steps/

Reference documentation of Codecov:

Describe alternatives you've considered
None

Additional context
None

@Coduz Coduz added the Test Test related stuff. It's a dirty job, but someone needs to do that! label Jan 13, 2020
@Coduz Coduz self-assigned this Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Test Test related stuff. It's a dirty job, but someone needs to do that!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant