Skip to content

ci: report test results and bundle sizes to Codecov - #57

Merged
funkadelic merged 2 commits into
mainfrom
ci/codecov-bundle-and-test-analysis
Aug 29, 2026
Merged

ci: report test results and bundle sizes to Codecov#57
funkadelic merged 2 commits into
mainfrom
ci/codecov-bundle-and-test-analysis

Conversation

@funkadelic

@funkadelic funkadelic commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Enable test results and bundle sizes to Codecov

@funkadelic funkadelic self-assigned this Aug 29, 2026
@funkadelic funkadelic added the ci label Aug 29, 2026
@codecov

codecov Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e5af58e) to head (6c31717).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #57   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           40        40           
  Lines          553       553           
  Branches        94        94           
=========================================
  Hits           553       553           

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

@funkadelic
funkadelic marked this pull request as ready for review August 29, 2026 05:36
The three suites each write a JUnit report into junit/, uploaded through the codecov-action already pinned here, so an intermittent failure is flagged as a flake. Written outside test-results/, which the end-to-end runner clears before every run.

Bundle sizes come from @codecov/bundle-analyzer over dist/. The Vite plugin peers vite 4, 5 and 6 and will not install beside this tree's vite 8, so the standalone CLI is the supported route; it reports assets and not individual modules. The normalize pattern is required because the analyzer's fallback hash matcher is hex only and Vite's hashes are base64.
@funkadelic
funkadelic force-pushed the ci/codecov-bundle-and-test-analysis branch from 29b3f58 to 3ab26c7 Compare August 29, 2026 05:36
The uploader matches file names against *junit*.xml and reads the directory name as nothing, so jsdom.xml, browser.xml and e2e.xml in junit/ matched none of its patterns. It found zero files, uploaded nothing, and still exited green under fail_ci_if_error.
@sonarqubecloud

Copy link
Copy Markdown

@funkadelic
funkadelic merged commit 5306775 into main Aug 29, 2026
8 checks passed
@funkadelic
funkadelic deleted the ci/codecov-bundle-and-test-analysis branch August 29, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant