Skip to content

ci: Generate test results XML of forge tests#18579

Merged
Inphi merged 1 commit intodevelopfrom
inphi/cci-forge-test-real
Dec 11, 2025
Merged

ci: Generate test results XML of forge tests#18579
Inphi merged 1 commit intodevelopfrom
inphi/cci-forge-test-real

Conversation

@Inphi
Copy link
Copy Markdown
Contributor

@Inphi Inphi commented Dec 11, 2025

Integrate forge test results with CCI for easier user feedback. It can be difficult to figure out which tests failed from reading the CCI console output, even after running a just test-rerun job.
Here's an illustration of a sample failed test:

image

This PR also allows test insights on past test performance to be generated from the results by CCI.

Consideration

Contract testing In CI occurs in two steps: First to run all tests, which dumps test logs to the console, then a rerun on only the failed tests. The rerun is logged to a file and console output. This patch removes the console logging done by the first test execution. So users will no longer have access to the logs of forge tests that succeeded.

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.48%. Comparing base (8b6bcfa) to head (306aea1).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #18579      +/-   ##
===========================================
+ Coverage    75.38%   75.48%   +0.09%     
===========================================
  Files          189      189              
  Lines        11239    11239              
===========================================
+ Hits          8473     8484      +11     
+ Misses        2620     2611       -9     
+ Partials       146      144       -2     
Flag Coverage Δ
cannon-go-tests-64 66.58% <ø> (-0.82%) ⬇️
contracts-bedrock-tests 80.46% <ø> (+0.61%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Inphi Inphi marked this pull request as ready for review December 11, 2025 18:40
@Inphi Inphi requested review from a team and serpixel December 11, 2025 18:40
@smartcontracts smartcontracts added this pull request to the merge queue Dec 11, 2025
@smartcontracts smartcontracts removed this pull request from the merge queue due to a manual request Dec 11, 2025
@Inphi Inphi added this pull request to the merge queue Dec 11, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 11, 2025
@Inphi Inphi added this pull request to the merge queue Dec 11, 2025
Merged via the queue into develop with commit 1b8eee6 Dec 11, 2025
90 checks passed
@Inphi Inphi deleted the inphi/cci-forge-test-real branch December 11, 2025 20:31
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.

3 participants