• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 25510783043
88%

Build:
DEFAULT BRANCH: main
Ran 07 May 2026 05:39PM UTC
Jobs 1
Files 939
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 May 2026 04:41PM UTC coverage: 87.632% (+0.02%) from 87.616%
25510783043

push

github

web-flow
Split `bindgen` simplified IR from parse/export logic (#16144)

While starting to write a Rust/PyO3 raw-FFI backend for the C API via
the Python package, I realised that a lot of the logic was about to be
duplicated from the `ctypes` output.  Had I realised this sooner, I'd
have folded this commit into ae919867[^1] to avoid an immediate refactor.

I've not attempted to de-duplicate _all_ logic that ever might occur
(for example, lifting a `Function` is going to look _mostly_ similar but
not identical), because there's enough little tweaks between the
languages to make the abstraction awkward, and we're unlikely to have
enough languages to really warrant it.  For example, the `ctypes`
binding needs to know that any custom "path" name of an `Enum` can't
actually be exported to that name, because we use Python-space true
`Enum` classes in the `ctypes` bindings for input.  This restriction
isn't present in other languages.

[^1]: ae919867: Add auto-generated `ctypes` bindings to C API (gh-16067)

185 of 194 new or added lines in 3 files covered. (95.36%)

5 existing lines in 2 files now uncovered.

106992 of 122093 relevant lines covered (87.63%)

960702.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
85.42
crates/bindgen/src/simple_ir.rs
2
85.71
crates/bindgen/src/render/ctypes.rs

Coverage Regressions

Lines Coverage ∆ File
4
92.29
0.0% crates/qasm2/src/lex.rs
1
91.04
0.0% crates/circuit/src/parameter/parameter_expression.rs
Jobs
ID Job ID Ran Files Coverage
1 25510783043.1 07 May 2026 05:39PM UTC 939
87.63
GitHub Action Run
Source Files on build 25510783043
  • Tree
  • List 939
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25510783043
  • b955d143 on github
  • Prev Build on gh-readonly-queue/main/pr-16154-4dbf157eb87fb7132ae091d767c93e7796f29bc0 (#25504422352)
  • Next Build on main (#25515648637)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc