Update go.yml

This commit is contained in:
bjdgyc
2021-02-02 20:51:49 +08:00
committed by GitHub
parent fa5a58e98d
commit d40b753871

View File

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