try merge generic report

This commit is contained in:
Sun Yimin 2022-07-11 16:01:41 +08:00 committed by GitHub
parent b36779c604
commit 74f18edc53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,10 +36,12 @@ jobs:
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }}
- name: Test with Coverage
run: go test -v -short -race -coverprofile=coverage.txt -covermode=atomic ./...
run: go test -v -short -coverprofile=coverage1.txt -covermode=atomic ./...
- name: Test Generic
run: go test -v -short -tags generic -coverprofile=coverage2.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
- name: Test Generic
run: go test -v -short -tags generic ./...
with:
files: ./coverage1.txt,./coverage2.txt