Skip to content

Commit

Permalink
Pass -coverpkg=./... to go test to compute coverage across all pa…
Browse files Browse the repository at this point in the history
…ckages (#61)

## Description

Pass `-coverpkg=./...` to `go test` to compute coverage across all
packages

## Changes Made

Pass `-coverpkg=./...` to `go test` to compute coverage across all
packages

## Related Issues

N/A

## Checklist

- [x] I have used a PR title that is descriptive enough for a release
note.
- [x] I have tested these changes locally.
- [x] I have added appropriate tests or updated existing tests.
- [ ] I have tested these changes on a dedicated VM or a customer VM
[name of the VM]
- [ ] I have added appropriate documentation or updated existing
documentation.
  • Loading branch information
chicco785 authored Jul 31, 2024
1 parent 70bd8c2 commit d23df86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ bench:
.PHONY: cov
cov:
mkdir -p coverage && \
go test ./... -coverprofile=./coverage/coverage.out && \
go test ./... -coverpkg=./... -coverprofile=./coverage/coverage.out && \
gcov2lcov -infile=./coverage/coverage.out -outfile=./coverage/lcov.info

.PHONY: generate
Expand Down
7 changes: 6 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# ProtoBuf Release Notes

## 0.0.8-dev - 2024-07-23
## 0.0.8-dev - 2024-07-31

### Continuous Integration

- Pass `-coverpkg=./...` to `go test` to compute coverage across all packages
(PR #61 by @chicco785)

### Documentation

Expand Down

0 comments on commit d23df86

Please sign in to comment.