Skip to content

Commit

Permalink
Integrate Codecov (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
hudymi authored Nov 27, 2019
1 parent a0c0573 commit 855bd07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
run: go build -v .
- name: Test
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload cover profile to Codecov
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
build-docker:
name: Build Docker image
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
run: go build -v .
- name: Test
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload cover profile to Codecov
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
build-docker:
name: Build Docker image
runs-on: ubuntu-latest
Expand Down

0 comments on commit 855bd07

Please sign in to comment.