Skip to content

ci: include coverage from running build scripts#6007

Draft
davidhewitt wants to merge 7 commits intoPyO3:mainfrom
davidhewitt:build-script-coverage
Draft

ci: include coverage from running build scripts#6007
davidhewitt wants to merge 7 commits intoPyO3:mainfrom
davidhewitt:build-script-coverage

Conversation

@davidhewitt
Copy link
Copy Markdown
Member

This attempts to improve coverage measurement of pyo3-build-config by measuring the coverage of invocation of build.rs files.

I refactored a few common pieces about coverage measurement into helper actions so that I could re-use them from test-version-limits job.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 30, 2026

Merging this PR will improve performance by 13.8%

⚡ 1 improved benchmark
✅ 104 untouched benchmarks
⏩ 1 skipped benchmark1

Performance Changes

Benchmark BASE HEAD Efficiency
bench_pyclass_create 4.6 µs 4 µs +13.8%

Comparing davidhewitt:build-script-coverage (23e26e5) with main (8a00673)

Open in CodSpeed

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports.

@ngoldbaum
Copy link
Copy Markdown
Contributor

Thanks for working on this! I noticed this looking at our clverage output for my build configuration PR. Happy to help out if you want a hand or an eye for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants