mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 02:57:52 +08:00
a8626bce1b
- 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
22 lines
538 B
YAML
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"
|