
* Add a github actions workflow config (linux + windows build) * Remove Travis config, migrated to Github Actions * Remove AppVeyor configs, migrated to Github Actions
5 lines
264 B
Bash
5 lines
264 B
Bash
#!/bin/sh
|
|
echo 'mode: count' > coverage.merged &&\
|
|
go list -f '{{.Dir}}' ./... | xargs -n1 -I'{}' sh -c ': > coverage.tmp; go test -v -covermode=count -coverprofile=coverage.tmp {} && tail -n +2 coverage.tmp >> coverage.merged' &&\
|
|
rm coverage.tmp
|