Interactive dashboard for tracking Go test coverage across Konflux repositories.
This repository contains a GitHub Actions workflow that:
- Periodically collects test coverage from multiple Konflux repositories
- Generates package-level coverage breakdowns
- Publishes an interactive dashboard at https://konflux-ci.dev/coverage-dashboard/
# Download the latest coverage data
curl -o coverage.json https://konflux-ci.dev/coverage-dashboard/coverage.json
# Start local web server
python3 -m http.server 8000
# Open http://localhost:8000/index.html in your browserEdit repos.yaml to add or modify repositories:
repositories:
- name: konflux-ci/your-repo
exclude_dirs:
- vendor/
- hack/
- test/
exclude_files:
- zz_generated.deepcopy.goThe coverage workflow runs:
- On push to main: Automatically after merging PRs
- Daily at 3:00 AM UTC: Via cron schedule
- Manual trigger: Via GitHub Actions "Run workflow" button
- On pull requests: Runs tests but doesn't publish to gh-pages
- Make changes to
repos.yamlto add/modify repositories - Update
index.htmlto modify the dashboard UI - Modify
.github/workflows/coverage.ymlto change workflow behavior - Test locally before submitting a PR
- Include sample
coverage.jsonfiles with pull requests which alter its schema