Skip to content

Commit

Permalink
add codecov publish to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
simskij authored Apr 13, 2020
1 parent 96cd97b commit 0474d84
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ jobs:
run: go build -v .

- name: Test
run: go test -v -coverprofile=coverage.out ./...
run: go test -v -coverprofile=coverage.out -covermode=atomic ./...

- name: Publish coverage
run: CODECOV_TOKEN="$({ secrets.CODECOV_TOKEN })" bash <(curl -s https://codecov.io/bash)

- name: Set up Python
uses: actions/setup-python@v1
Expand Down

0 comments on commit 0474d84

Please sign in to comment.