diff --git a/.github/workflows/gf.yml b/.github/workflows/gf.yml index b7ad3678e..aa6f0531d 100644 --- a/.github/workflows/gf.yml +++ b/.github/workflows/gf.yml @@ -153,6 +153,12 @@ jobs: GOARCH=386 go test -v ./... || exit 1 GOARCH=amd64 go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic || exit 1 + - name: Merge Coverage + run: | + for file in `find . -name coverage.txt`; do + cat $file >> coverage.txt + done + - name: Report Coverage uses: codecov/codecov-action@v2 with: