Title: ci: specify junit.xml path for Codecov test results upload by bearomorphism · Pull Request #1943 · commitizen-tools/commitizen · GitHub
Open Graph Title: ci: specify junit.xml path for Codecov test results upload by bearomorphism · Pull Request #1943 · commitizen-tools/commitizen
X Title: ci: specify junit.xml path for Codecov test results upload by bearomorphism · Pull Request #1943 · commitizen-tools/commitizen
Description: Description The "Upload test results to Codecov" step in CI intermittently fails with: info - Found 0 test_results files to report error - No JUnit XML reports found. Please review our documentation (https://docs.codecov.com/docs/test-result-ingestion-beta) to generate and upload the file. The poe cover task (run via poe ci) generates junit.xml in the project root (--junitxml=junit.xml in pyproject.toml line 299), but the codecov/codecov-action@v6 with report_type: test_results relies on auto-discovery which is unreliable. Fix Add file: junit.xml to explicitly point the Codecov action at the generated JUnit XML report. Evidence of flaky behavior Same branch, same workflow, same step — different outcomes: Run Job "Upload test results to Codecov" Link 25276231285 python-check (3.10, ubuntu-22.04) success link 25276415667 python-check (3.10, ubuntu-22.04) failure link Both runs executed the same workflow without file: specified. The Codecov CLI auto-discovery found junit.xml in one run but not the other. Adding an explicit path eliminates this non-determinism. Checklist I have read the contributing guidelines Was generative AI tooling used to co-author this PR? Yes Generated-by: GitHub Copilot CLI
Open Graph Description: Description The "Upload test results to Codecov" step in CI intermittently fails with: info - Found 0 test_results files to report error - No JUnit XML reports found. Please review our do...
X Description: Description The "Upload test results to Codecov" step in CI intermittently fails with: info - Found 0 test_results files to report error - No JUnit XML reports found. Please revie...
Opengraph URL: https://github.com/commitizen-tools/commitizen/pull/1943
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4298b5dd-ae82-e958-69fc-0b565af8ddf7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D6B4:2E9611:B57F0E:104AD2C:6A4E48F1 |
| html-safe-nonce | 9707780bd1c9519aa989ae0899d616378f12ab71a633df1987e460fb39a235c4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkI0OjJFOTYxMTpCNTdGMEU6MTA0QUQyQzo2QTRFNDhGMSIsInZpc2l0b3JfaWQiOiI1MzE5MTk3NTQ2MjQ5MDc5MDI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4249cd02ca9a7ace545935a43029ae8582fef4a4495b5ea92cbc95d633aca5be |
| hovercard-subject-tag | pull_request:3619798714 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/commitizen-tools/commitizen/pull/1943/files |
| twitter:image | https://avatars.githubusercontent.com/u/26526132?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/26526132?s=400&v=4 |
| og:image:alt | Description The "Upload test results to Codecov" step in CI intermittently fails with: info - Found 0 test_results files to report error - No JUnit XML reports found. Please review our do... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e8506f6d0538364886e3f0153c154c410965e70d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width