Skip to content

Commit

Permalink
Fix make cover
Browse files Browse the repository at this point in the history
  • Loading branch information
JelteF committed Jan 2, 2019
1 parent e42a87e commit 9a37fdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ test:
cover: $(DEPS)
go test -cover -coverpkg=./... -covermode=count -coverprofile=coverage-unit-tests.out $(REPO)/internal/...
./test.bash
gocovmerge coverages/*.out coverage-unit-tests.out > coverage.out
gocovmerge coverage-unit-tests.out coverages/*.out > coverage.out
rm coverage-unit-tests.out
rm -r coverages

Expand Down
2 changes: 1 addition & 1 deletion test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -uex -o pipefail

rm -rf coverages

go test -covermode=count -coverpkg="$(go list ./... | paste -sd ',' -)" -c github.com/GetStream/vg -o testbins/testvg
go test -covermode=count -coverpkg=./... -c github.com/GetStream/vg -o testbins/testvg

go build -i -o testbins/vg github.com/GetStream/vg/internal/testwrapper/vg

Expand Down

0 comments on commit 9a37fdf

Please sign in to comment.