Yicong-Huang opened a new issue, #5206:
URL: https://github.com/apache/texera/issues/5206

   ### Task Summary
   
   Codecov already receives coverage from four flags (frontend, amber, python, 
agent-service) plus five per-service `platform` flags. Codecov also offers Test 
Analytics — JUnit-XML-based reporting that surfaces failing tests with stack 
traces in PR comments, detects flaky tests against `main`, and tracks per-test 
run-time / failure-rate over time. The data is independent of coverage and 
uploads through the same `codecov/codecov-action@v5` with `report_type: 
test_results`.
   
   Enable it for every CI test job:
   
   - pytest (`python`) — add `--junit-xml=junit.xml`
   - Vitest (`frontend`, unit + browser) — configure JUnit reporter in 
`vitest.config.ts` / `vitest.browser.config.ts`
   - `bun test` (`agent-service`) — add `--reporter=junit 
--reporter-outfile=junit.xml`
   - ScalaTest (`amber`, `amber-integration`, five `platform` matrix entries) — 
`ThisBuild / Test / testOptions` gets `-u target/test-reports`
   
   Then add one `codecov/codecov-action@v5` upload step per test job with 
`report_type: test_results`, reusing the existing flag name and `CODECOV_TOKEN`.
   
   ### Task Type
   
   - [x] DevOps / Deployment / CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to