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

feat: Coverage ignore caveats tweaks ALA-695 #1987

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/assets/includes/coverage-ignore.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
To exclude files from coverage analysis only, you must ignore them directly in the tool you're using to generate coverage reports and ensure that the reports you upload to Codacy don't include coverage information for those files.
To exclude files from coverage analysis, you must ignore them directly in the tool you're using to generate coverage reports and ensure that the reports you upload to Codacy don't include coverage information for those files.
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,5 @@ You may notice some differences in the coverage metrics reported by the old and

- The old Coverage engine ignores any files on a coverage report that aren't present on the repository on that given commit.
- The old Coverage engine may ignore additional files since it shares [ignore rules](../../repositories-configure/ignoring-files.md) with the Codacy analysis engine.

{% include-markdown "../../assets/includes/coverage-ignore.md" %}
7 changes: 5 additions & 2 deletions docs/repositories-configure/ignoring-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ You can also ignore files using your own [tool configuration files](configuring-

If you need more flexibility in ignoring files, use a Codacy configuration file to [define a custom list of file paths to exclude](codacy-configuration-file.md#syntax-for-ignoring-files).

!!! note
{% include-markdown "../assets/includes/coverage-ignore.md" %}
## Ignoring files in coverage analysis

Coverage analysis does not ignore any files.

{% include-markdown "../assets/includes/coverage-ignore.md" %}

## Default ignored files

Expand Down
Loading