Update exclude_path description and examples

Now that we use cargo-llvm-cov, `exclude_path` should be a regular
expression, since we are using `--ignore-filename-regex` option:

   --ignore-filename-regex <PATTERN>
       Skip source code files with file paths that match the given
       regular expression

To prevent users from separating multiple files with commas,
let's update the `exclude_path` description in the README and in
the examples.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
This commit is contained in:
Stefano Garzarella
2023-10-19 10:16:17 +02:00
committed by Patrick Roy
parent 9699b4dfe3
commit 4c55aa732b
3 changed files with 7 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
{
"coverage_score": 90,
"exclude_path": "my_autogenerated_file.rs,second_file.rs",
"exclude_path": "my_autogenerated_file\\.rs|path/to/my_folder",
"crate_features": "my_dummy_feature,dummy_feature2"
}