Title: Add code coverage reporting to PR CI by Copilot · Pull Request #6518 · RustPython/RustPython · GitHub
Open Graph Title: Add code coverage reporting to PR CI by Copilot · Pull Request #6518 · RustPython/RustPython
X Title: Add code coverage reporting to PR CI by Copilot · Pull Request #6518 · RustPython/RustPython
Description: Adds code coverage collection to PR CI workflow using stable Rust's source-based coverage (available since 1.60.0). Coverage reports are uploaded to Codecov on every PR.
Implementation
New codecov job in .github/workflows/ci.yaml runs Rust test coverage only
Uses cargo-llvm-cov with stable toolchain and rust-cache
Set fail_ci_if_error: false to avoid blocking PRs on Codecov service issues
30-minute timeout, respects skip:ci label
Design
The PR job collects only Rust test coverage to minimize build time impact. The existing scheduled cron job continues to provide comprehensive coverage including Python snippets and full test suite.
Original prompt
This section details on the original issue you should resolve
Open Graph Description: Adds code coverage collection to PR CI workflow using stable Rust's source-based coverage (available since 1.60.0). Coverage reports are uploaded to Codecov on every PR. Implementation New cod...
X Description: Adds code coverage collection to PR CI workflow using stable Rust's source-based coverage (available since 1.60.0). Coverage reports are uploaded to Codecov on every PR. Implementation New...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6518
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:2959f6cf-42f8-c94f-e3e5-730be4f2fe8d |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | CCD2:38354B:2FDC8E5:408FB7C:697086F5 |
| html-safe-nonce | e327c4375b51aad2aed914d485e51a5dcf0c0bdcd0bbb3ff081969fbf5402245 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0QyOjM4MzU0QjoyRkRDOEU1OjQwOEZCN0M6Njk3MDg2RjUiLCJ2aXNpdG9yX2lkIjoiNTE1MDk2NjM4MzA3OTYyMjM4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d568c3fedc229ce3c337367a2e49948cd0c608bac5037b77bf4b5abcbb6dfb6f |
| hovercard-subject-tag | pull_request:3129794574 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/RustPython/RustPython/pull/6518/checks |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | Adds code coverage collection to PR CI workflow using stable Rust's source-based coverage (available since 1.60.0). Coverage reports are uploaded to Codecov on every PR. Implementation New cod... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width