diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-05-18 10:31:15 +1000 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-05-18 10:31:42 +1000 |
| commit | cbd6c45887a177bd9279ce9198da0712a6417248 (patch) | |
| tree | 4a9a12ed4ad2ec4bcee19fc14ae9e2e5f19ea30a /.github/workflows/coverage.yaml | |
| parent | 57cd3d1fee606fd27992d3ad6be819ffbb0af001 (diff) | |
ci(coverage): Add repo coverage with codecov
Diffstat (limited to '.github/workflows/coverage.yaml')
| -rw-r--r-- | .github/workflows/coverage.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml new file mode 100644 index 0000000..527aa20 --- /dev/null +++ b/.github/workflows/coverage.yaml @@ -0,0 +1,27 @@ +name: Coverage + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + coverage: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install lcov + run: sudo apt-get update && sudo apt-get install lcov + + - name: Generate coverage report + run: make coverage + + - name: Upload coverage report to Codecov + uses: codecov/codecov-action@v5 + with: + files: coverage.info + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true
\ No newline at end of file |
