Update go.yml

This commit is contained in:
bjdgyc 2021-02-02 20:51:49 +08:00 committed by GitHub
parent fa5a58e98d
commit d40b753871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -28,12 +28,9 @@ jobs:
- name: Build
run: go build -v .
- name: Test
run: go test -v .
- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic
- name: Test coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic -v ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)