ci: change to codecov instead

This commit is contained in:
Slug-Boi
2025-04-10 18:28:19 +02:00
parent e2423068bb
commit e327621bcb
+4 -10
View File
@@ -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