Skip to content

Commit

Permalink
Merge pull request #47 from shogo82148/improve-codecov-report
Browse files Browse the repository at this point in the history
improve codecov report
  • Loading branch information
shogo82148 committed Jan 18, 2020
2 parents cc329a7 + cf2368c commit 834b306
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/go.yml
Expand Up @@ -38,7 +38,7 @@ jobs:
path: src/github.com/shogo82148/go-sql-proxy

- name: Test
run: go test -v -coverprofile=profile.cov .
run: go test -v -coverprofile=coverage.txt .
env:
GO111MODULE: "on"
shell: bash
Expand All @@ -47,14 +47,15 @@ jobs:
- name: Send coverage to coveralls.io
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
path-to-profile: coverage.txt
parallel: true
working-directory: src/github.com/shogo82148/go-sql-proxy
- name: Send coverage to codecov.io
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: src/github.com/shogo82148/go-sql-proxy/profile.cov
run: bash <(curl -s https://codecov.io/bash)
shell: bash
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
working-directory: src/github.com/shogo82148/go-sql-proxy
finish:
needs: test
runs-on: ubuntu-latest
Expand Down

0 comments on commit 834b306

Please sign in to comment.