1- # (mandatory)
1+ # (mandatory)
22# Path to coverprofile file (output of `go test -coverprofile` command).
33#
4- # For cases where there are many coverage profiles, such as when running
4+ # For cases where there are many coverage profiles, such as when running
55# unit tests and integration tests separately, you can combine all those
6- # profiles into one. In this case, the profile should have a comma-separated list
6+ # profiles into one. In this case, the profile should have a comma-separated list
77# of profile files, e.g., 'cover_unit.out,cover_integration.out'.
88profile : cover.out
99
10- # (optional; but recommended to set)
10+ # (optional; but recommended to set)
1111# When specified reported file paths will not contain local prefix in the output
1212local-prefix : " github.com/truvami/decoder"
1313
1414# Holds coverage thresholds percentages, values should be in range [0-100]
1515threshold :
16- # (optional; default 0)
16+ # (optional; default 0)
1717 # The minimum coverage that each file should have
1818 file : 75
1919
20- # (optional; default 0)
20+ # (optional; default 0)
2121 # The minimum coverage that each package should have
2222 package : 80
2323
24- # (optional; default 0)
24+ # (optional; default 0)
2525 # The minimum total coverage project should have
2626 total : 80
2727
28- # Holds regexp rules which will override thresholds for matched files or packages
28+ # Holds regexp rules which will override thresholds for matched files or packages
2929# using their paths.
3030#
31- # First rule from this list that matches file or package is going to apply
32- # new threshold to it. If project has multiple rules that match same path,
31+ # First rule from this list that matches file or package is going to apply
32+ # new threshold to it. If project has multiple rules that match same path,
3333# override rules should be listed in order from specific to more general rules.
3434override :
35- # Increase coverage threshold to 100% for `foo` package
35+ # Increase coverage threshold to 100% for `foo` package
3636 # (default is 80, as configured above in this example)
3737 - threshold : 75
3838 path : ^internal/logger$
3939
40- # Holds regexp rules which will exclude matched files or packages
40+ # Holds regexp rules which will exclude matched files or packages
4141# from coverage statistics
4242exclude :
4343 # Exclude files or packages matching their paths
@@ -47,12 +47,12 @@ exclude:
4747 paths :
4848 - ^cmd/
4949 - ^examples/
50-
50+
5151 # This solver will be deprecated after 31.07.2025
5252 # https://www.semtech.com/loracloud-shutdown
5353 - ^pkg/solver/loracloud/
5454
55-
55+
5656# NOTES:
5757# - symbol `/` in all path regexps will be replaced by current OS file path separator
58- # to properly work on Windows
58+ # to properly work on Windows
0 commit comments