fix: coverage script

This commit is contained in:
debugtalk
2021-09-30 17:13:10 +08:00
parent 3bd7b484c8
commit c3070f780e

View File

@@ -28,6 +28,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic
run: go test -race -coverprofile="cover.out" -covermode=atomic ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)