A GitHub Actions-based dashboard for tracking Go code coverage across multiple Tekton and OpenShift Pipelines repositories.
This repository automatically generates and publishes code coverage reports for configured repositories. Coverage data is collected daily and published to GitHub Pages.
- Automated daily coverage collection via GitHub Actions
- Fetches coverage from upstream workflow artifacts when available
- Falls back to running tests locally if upstream coverage unavailable
- Generates HTML coverage reports for detailed analysis
- Tracks coverage history over time
- Supports custom package exclusions per repository
Repositories are configured in repos.yaml:
repositories:
- name: tektoncd/pipeline
upstream_coverage_workflow: go-coverage.yml # Optional: fetch from upstream artifact
exclude_dirs:
- cmd/
- vendor/
- test/
exclude_files:
- zz_generated.deepcopy.go- Workflow runs daily (or on-demand via workflow_dispatch)
- For each configured repository:
- If
upstream_coverage_workflowis set, attempts to download coverage artifact from the latest successful run - If upstream coverage unavailable, clones the repository and runs tests locally
- Applies configured exclusions
- Generates coverage percentage and HTML report
- If
- Results are published to the
gh-pagesbranch
Coverage data is available at: https://<username>.github.io/<repo-name>/coverage.json
Individual repository coverage reports: https://<username>.github.io/<repo-name>/coverage/<org>/<repo>/
See LICENSE for details.