Update ci.yml

This commit is contained in:
Sun Yimin 2022-07-11 13:55:27 +08:00 committed by GitHub
parent ceaa727f83
commit 394991c8b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,8 +35,11 @@ jobs:
path: ~/go/pkg/mod
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }}
- name: Test
run: go test -v -short ./...
- name: Test with Coverage
run: go test -v -short -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
- name: Test Generic
run: go test -v -short -tags generic ./...