elvish/.codecov.yml
Qi Xiao a8626bce1b Fixup for #1339
- Use explict ./ for consistency when invoking the script

- Rename script to "prune-cover.sh"

- Build ignore pattern in temporary file, and use grep -f to read it

- Use grep -F for correctness (path can contain dots)

- Add comment in .codecov.yml
2021-06-20 16:39:36 +01:00

22 lines
538 B
YAML

coverage:
status:
project:
default:
threshold: 0.1%
patch: off
comment: false
ignore:
# Exclude test helpers from coverage calculation.
#
# The following patterns are also consumed by a hacky sed script in tools/prune-cover.sh.
- "pkg/cli/clitest"
- "pkg/eval/evaltest"
- "pkg/eval/vals/testutils.go"
- "pkg/prog/progtest"
- "pkg/store/storetest"
- "pkg/testutil/must.go"
# Exclude the copied rpc package.
- "pkg/rpc"
# The web UI is not being worked on now, also exclude it.
- "pkg/web"