fix: upload coverage for windows

This commit is contained in:
debugtalk
2021-09-30 17:21:58 +08:00
parent c3070f780e
commit eafe0434d9

View File

@@ -30,4 +30,7 @@ jobs:
- name: Run coverage
run: go test -race -coverprofile="cover.out" -covermode=atomic ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)
if: success()
run: |
curl -s https://codecov.io/bash | bash
shell: bash