mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-27 20:56:18 +08:00
test: try coverpkg
This commit is contained in:
parent
189f2217c3
commit
e4d02321b7
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -36,10 +36,10 @@ jobs:
|
||||
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }}
|
||||
|
||||
- name: Test with Coverage
|
||||
run: go test -v -short -coverprofile=coverage1.txt -covermode=atomic ./...
|
||||
run: go test -coverpkg=./... -v -short -coverprofile=coverage1.txt -covermode=atomic ./...
|
||||
|
||||
- name: Test Generic
|
||||
run: go test -v -short -tags generic -coverprofile=coverage2.txt -covermode=atomic ./...
|
||||
run: go test -coverpkg=./... -v -short -tags generic -coverprofile=coverage2.txt -covermode=atomic ./...
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
|
Loading…
x
Reference in New Issue
Block a user