mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
ci: change to codecov instead
This commit is contained in:
@@ -22,15 +22,9 @@ jobs:
|
|||||||
- name: Run Dagger Test Workflow
|
- name: Run Dagger Test Workflow
|
||||||
run: go run ci/test_on_push.go
|
run: go run ci/test_on_push.go
|
||||||
- name: Generate Coverage Report
|
- name: Generate Coverage Report
|
||||||
run: CI=true go test -coverprofile=coverage.out ./...
|
run: CI=true go test -coverprofile=coverage.txt ./...
|
||||||
- name: Update coverage report
|
- name: Upload coverage reports to Codecov
|
||||||
uses: ncruces/go-coverage-report@v0.3.0
|
uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
coverage-file: coverage.out
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
report: true
|
|
||||||
chart: true
|
|
||||||
amend: true
|
|
||||||
if: |
|
|
||||||
matrix.os == 'ubuntu-latest' &&
|
|
||||||
github.event_name == 'push'
|
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|||||||
Reference in New Issue
Block a user