mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-08-31 10:48:59 +00:00
switch to uploading coverage to codecov
This commit is contained in:
@@ -38,12 +38,9 @@ jobs:
|
|||||||
|
|
||||||
- name: clean up coverage report
|
- name: clean up coverage report
|
||||||
run: cat coverage.out | grep -v "github.com/jwetzell/showbridge-go/cmd" > coverage.nocmd.out
|
run: cat coverage.out | grep -v "github.com/jwetzell/showbridge-go/cmd" > coverage.nocmd.out
|
||||||
- name: Update coverage report
|
|
||||||
uses: ncruces/go-coverage-report@v0.3.2
|
- name: Upload coverage reports to Codecov
|
||||||
|
uses: codecov/codecov-action@v7
|
||||||
with:
|
with:
|
||||||
coverage-file: coverage.nocmd.out
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
report: true
|
files: coverage.nocmd.out
|
||||||
chart: true
|
|
||||||
amend: true
|
|
||||||
if: github.event_name == 'push'
|
|
||||||
continue-on-error: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user