Skip to content

ci: added codecov test results#93

Closed
pedroafmonteiro wants to merge 2 commits intomainfrom
fix/coverage-report
Closed

ci: added codecov test results#93
pedroafmonteiro wants to merge 2 commits intomainfrom
fix/coverage-report

Conversation

@pedroafmonteiro
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings February 15, 2026 16:14
@codecov
Copy link

codecov bot commented Feb 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (068dc88) to head (6528028).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #93   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           48        48           
  Lines          611       611           
  Branches        45        45           
=========================================
  Hits           611       611           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new step to the CI workflow to upload test results to Codecov using the codecov/test-results-action@v1. The change aims to enhance CI reporting by sending test execution results alongside existing code coverage data.

Changes:

  • Added a new workflow step to upload test results to Codecov after the coverage upload step

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
Copy link

Copilot AI Feb 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The codecov/test-results-action requires test result files (typically in JUnit XML format), but the current Jest configuration doesn't generate these files. The test:cov command only produces coverage data (lcov.info), not test results.

To fix this, you need to:

  1. Configure Jest to output test results using a reporter like jest-junit
  2. Add the 'file' parameter to the action to specify where the test results are located

Without these changes, this step will fail or upload nothing to Codecov.

Suggested change
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/junit.xml

Copilot uses AI. Check for mistakes.
@pedroafmonteiro pedroafmonteiro deleted the fix/coverage-report branch February 15, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant