
Update Go & Ubuntu versions in GitHub CI workflows. Pass files through a new version of gofmt. Allow running CI workflow manually.
5 lines
260 B
Bash
5 lines
260 B
Bash
#!/bin/sh
|
|
echo 'mode: count' > coverage.merged &&\
|
|
go list -f '{{.Dir}}' ./... | xargs -I'{}' sh -c ': > coverage.tmp; go test -v -covermode=count -coverprofile=coverage.tmp {} && tail -n +2 coverage.tmp >> coverage.merged' &&\
|
|
rm coverage.tmp
|