Commit Graph

8 Commits

Author SHA1 Message Date
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
Qi Xiao
1fa9451e4b Remove pkg/eval/vals/testutils.go from codecov coverage.
This addresses #1234.
2021-06-15 17:58:14 +01:00
Qi Xiao
72fc2dbe4a Copy and trim down the net/rpc package.
In particular, the dependency on net/http is removed, which removes a
bunch of transitive dependencies.
2021-01-30 23:56:58 +00:00
Qi Xiao
6685c15981 Actually, continue to exclude test helpers.
Test helpers will necessarily contain some lines that are only executed on test
failure, so exluding them from test coverage is still a good idea.

Also exclude pkg/web.
2021-01-16 06:42:27 +00:00
Qi Xiao
d37f86a4ff .codecov.yml: Remove excludes now that cross-package coverages are included. 2021-01-16 06:35:14 +00:00
Qi Xiao
f3c2185dae pkg/eval/evaltest: Move Must* functions to the testutil package.
Also exclude those functions from test coverage calculation.
2020-09-04 21:57:20 +01:00
Qi Xiao
bb122024dd pkg/eval: Move test framework into new evaltest package. 2020-09-03 06:51:21 +01:00
Qi Xiao
b6580edaf7 Add .codecov.yml, ignore all test helpers. 2020-09-03 05:40:39 +01:00