mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
Update ci.yml
This commit is contained in:
parent
ceaa727f83
commit
394991c8b1
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -35,8 +35,11 @@ jobs:
|
|||||||
path: ~/go/pkg/mod
|
path: ~/go/pkg/mod
|
||||||
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }}
|
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }}
|
||||||
|
|
||||||
- name: Test
|
- name: Test with Coverage
|
||||||
run: go test -v -short ./...
|
run: go test -v -short -coverprofile=coverage.txt -covermode=atomic ./...
|
||||||
|
|
||||||
|
- name: Upload coverage to Codecov
|
||||||
|
uses: codecov/codecov-action@v1
|
||||||
|
|
||||||
- name: Test Generic
|
- name: Test Generic
|
||||||
run: go test -v -short -tags generic ./...
|
run: go test -v -short -tags generic ./...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user