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

Qiskit / qiskit / 25123064067
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: c-api-inspect-expr
DEFAULT BRANCH: main
Ran 29 Apr 2026 05:38PM UTC
Jobs 1
Files 937
Run time 2min
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

29 Apr 2026 05:11PM UTC coverage: 87.57% (+0.08%) from 87.491%
25123064067

push

github

web-flow
Add auto-generated `ctypes` bindings to C API (#16067)

* Add auto-generated `ctypes` bindings to C API

This is similar to how Python exposes its own C API through `ctypes` as
`ctypes.pythonapi`.  It's unlikely to be immediately useful as a feature
for downstream users, but it simplifies the process of us testing our
own code from Python space.

I had originally hoped / thought that `numba` would support calling
these `ctypes` functions, but while `numba` (as of current version 0.65)
does have support for calling `ctypes` functions defined purely in terms
of primitive non-pointer integral types, it doesn't yet support
`ctypes.py_object` or arbitrary pointers.

* Remove unnecessary fast path

323 of 374 new or added lines in 4 files covered. (86.36%)

23 existing lines in 4 files now uncovered.

106180 of 121251 relevant lines covered (87.57%)

970413.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
50
83.92
crates/bindgen/src/render/py_ctypes.rs
1
96.51
0.86% crates/pyext/build.rs

Coverage Regressions

Lines Coverage ∆ File
18
96.68
-0.47% crates/qasm2/src/parse.rs
3
92.29
0.51% crates/qasm2/src/lex.rs
1
90.53
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
93.82
-0.24% crates/qasm2/src/expr.rs
Jobs
ID Job ID Ran Files Coverage
1 25123064067.1 29 Apr 2026 05:38PM UTC 937
87.57
GitHub Action Run
Source Files on build 25123064067
  • Tree
  • List 937
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25123064067
  • ae919867 on github
  • Prev Build on gh-readonly-queue/main/pr-16103-11b07c2ecc2abe4f457e33a40fc55e9570c70777 (#25117522495)
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