mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
workflow yaml updates
This commit is contained in:
6
.github/workflows/gf.yml
vendored
6
.github/workflows/gf.yml
vendored
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user