mirror of
https://github.com/status-im/status-go.git
synced 2025-02-21 11:18:28 +00:00
fix_: include coverage from all packages (#5390)
This commit is contained in:
parent
43c9860491
commit
a049f0b688
@ -135,8 +135,7 @@ done
|
||||
|
||||
# Gather test coverage results
|
||||
rm -f c.out
|
||||
echo "mode: atomic" > c.out
|
||||
grep -r -h -v "^mode:" --include "*.coverage.out" >> c.out
|
||||
go run ./cmd/test-coverage-utils/gocovmerge.go $(find -iname "*.coverage.out") >> c.out
|
||||
|
||||
if [[ $UNIT_TEST_REPORT_CODECLIMATE == 'true' ]]; then
|
||||
# https://docs.codeclimate.com/docs/jenkins#jenkins-ci-builds
|
||||
|
@ -4,4 +4,5 @@ coverage_file_path="$(mktemp coverage.out.rerun.XXXXXXXXXX --tmpdir="${PACKAGE_D
|
||||
go test -json \
|
||||
-covermode=atomic \
|
||||
-coverprofile="${coverage_file_path}" \
|
||||
-coverpkg ./... \
|
||||
"$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user