feat(ci): Add Codecov integration and native test result summaries#98
Merged
hristoterezov merged 4 commits intomasterfrom Nov 3, 2025
Merged
feat(ci): Add Codecov integration and native test result summaries#98hristoterezov merged 4 commits intomasterfrom
hristoterezov merged 4 commits intomasterfrom
Conversation
Adds Codecov integration to the CI workflow to provide automated coverage reporting: - Uploads coverage data to Codecov after test execution - Uses organization-level CODECOV_TOKEN for authentication - Maintains artifact upload as fallback for manual inspection - Configured with fail_ci_if_error: false to not block CI on Codecov issues - Enables automatic PR comments with coverage statistics and trends This integration will provide visibility into code coverage directly in pull requests, showing coverage changes and trends over time without requiring manual artifact downloads.
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
bcd0c76 to
77ce564
Compare
Enhances CI workflow with automated reporting for better visibility: **Native Test Result Summaries:** - Adds GitHub job summary showing test pass/fail status - Displays formatted table with total/passed/failed test counts - Uses only native GitHub features ($GITHUB_STEP_SUMMARY) - No third-party actions required for test reporting **Benefits:** - Test results summary on workflow run page - Maintains existing artifact upload for manual inspection - All reporting uses native or org-approved tools
77ce564 to
0b8f79a
Compare
Member
|
CXan we put the long-ish scripts on files in the .github directory and call them instead? |
This refactoring improves the maintainability and readability of the CI workflow by extracting complex inline scripts into separate, well-documented files. This approach provides better code organization, easier testing, and the ability to reuse these scripts across multiple workflows if needed.
Member
Author
@saghul Done! |
saghul
approved these changes
Nov 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR enhances the CI workflow with automated reporting for better visibility into test results and code coverage:
✅ Codecov integration - Automated coverage reporting with PR comments
✅ Native test summaries - Test results displayed on workflow runs
What This Adds
1. Codecov Integration
Automatic PR Comments:
Every pull request will get a comment from Codecov showing:
Codecov Dashboard:
Configuration:
codecov/codecov-action@v4(matches other Jitsi repos like jitsi-videobridge)${{ secrets.CODECOV_TOKEN }}from organization secretsfail_ci_if_error: falseto not block CI if Codecov has issues2. Native Test Result Summaries
GitHub Job Summary:
Displays on the workflow run page showing:
Implementation:
$GITHUB_STEP_SUMMARYfeatureif: always()to show results even on failureExample Output
Test Summary (on workflow run page):
Backwards Compatibility
Test Plan
Related