Skip to content

Commit ffcdf9b

Browse files
Add Datadog code coverage upload alongside Codecov
Side-by-side coverage reporting: adds Datadog coverage upload step after the existing Codecov upload in the coverage workflow. Uses the DataDog/coverage-upload-github-action with LCOV format. Both systems will run in parallel for comparison.
1 parent bc8f764 commit ffcdf9b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,11 @@ jobs:
5050
token: ${{ secrets.CODECOV_TOKEN }}
5151
files: lcov.info
5252
fail_ci_if_error: true
53+
- name: Upload coverage to Datadog
54+
if: always()
55+
continue-on-error: true
56+
uses: DataDog/coverage-upload-github-action@v1
57+
with:
58+
api_key: ${{ secrets.DATADOG_API_KEY }}
59+
files: lcov.info
60+
format: lcov

0 commit comments

Comments
 (0)