Commit Graph

13 Commits

Author SHA1 Message Date
Qi Xiao
b901b49f12 cmd/elvmdfmt: Split Markdown formatting into own command, supporting -w and -d.
Also change the behavior of the rendering command (elvmd) to still output HTML
when given -trace.
2022-11-04 16:37:47 +00:00
Qi Xiao
ffc05aba8d pkg/md: Generate String method for OpType.
Also standardize the name of the file generated by stringer as "zstring.go" and
ignore all existing ones in .codecov.yml.
2022-10-15 11:39:27 +01:00
Qi Xiao
98ee4aebdd pkg/cli/histutil: Ignore coverage of testDB. 2022-06-20 23:06:07 +01:00
Qi Xiao
4afbb71c07 Move pkg/testutil/must.go to a new pkg/must. 2022-06-20 20:29:14 +01:00
Qi Xiao
a42b29802a Update .codecov.yml with file rename. 2021-12-17 01:07:20 +00:00
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