Skip to content

Commit

Permalink
Merge pull request #359 from x-motemen/coverage
Browse files Browse the repository at this point in the history
introduce codecov
  • Loading branch information
Songmu authored Apr 16, 2023
2 parents 845d23a + 7c14298 commit e7f736f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,4 @@ jobs:
- name: test
run: go test -coverprofile coverage.out -covermode atomic ./...
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
github-token: ${{ secrets.github_token }}
path-to-profile: coverage.out
parallel: true
job-number: ${{ strategy.job-index }}

finish:
runs-on: ubuntu-latest
needs: test
steps:
- name: finish coverage report
uses: shogo82148/actions-goveralls@v1
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
uses: codecov/codecov-action@v1
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= ghq(1) image:https://github.com/x-motemen/ghq/workflows/test/badge.svg?branch=master["Build Status", link="https://github.com/x-motemen/ghq/actions?workflow=test"] image:https://coveralls.io/repos/motemen/ghq/badge.svg?branch=master["Coverage", link="https://coveralls.io/r/motemen/ghq?branch=master"]
= ghq(1) image:https://github.com/x-motemen/ghq/workflows/test/badge.svg?branch=master["Build Status", link="https://github.com/x-motemen/ghq/actions?workflow=test"] image:https://codecov.io/gh/x-motemen/ghq/branch/master/graph/badge.svg["Coverage", link="https://codecov.io/gh/x-motemen/ghq"]

== NAME

Expand Down
2 changes: 2 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
comment: false
github_checks: false

0 comments on commit e7f736f

Please sign in to comment.