mirror of
https://github.com/x-motemen/ghq.git
synced 2026-09-10 07:26:27 -04:00
introduce codecov
This commit is contained in:
parent
c6bf0744d2
commit
579e844fe8
17
.github/workflows/test.yaml
vendored
17
.github/workflows/test.yaml
vendored
|
|
@ -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
codecov.yml
Normal file
2
codecov.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
comment: false
|
||||
github_checks: false
|
||||
Loading…
Reference in a new issue