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

Qiskit / qiskit-fermions / 31711362313
98%

Build:
DEFAULT BRANCH: main
Ran 13 Aug 2026 02:51PM UTC
Jobs 1
Files 103
Run time 1min
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

13 Aug 2026 02:41PM UTC coverage: 98.021%. Remained the same
31711362313

push

github

web-flow
Build process fixes (#268)

* fix: correct `testc` prerequisites and profile-specific C library builds

Two independent bugs in the C build targets, both of which happened to be
masked by how CI invokes them.

`testc` compiles the C tests against `qiskit_fermions.h` in
`dist/c/include/`, but only depended on `build-clib-dev`, which builds the
shared library and never *installs* the generated header.  On a clean tree
the target therefore failed with `fatal error: qiskit_fermions.h: No such
file or directory`.  CI only got away with it because it always runs `make
cext` (which does install the header) in an earlier step.

`build-clib-release` and `build-clib-dev` shared a single `build-clib`
prerequisite parameterised by a target-specific variable.  Since a phony
target is only built once per `make` invocation, requesting both profiles on
one command line collapsed to whichever was asked for first: `make cext
testc` built only `--release`, left `target/debug/` empty, and tripped
CMake's `find_library(... REQUIRED)`.  Giving each profile its own recipe is
what keeps them independent.  `ccoverage` still threads
`-Cinstrument-coverage` through to the dev build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix: declare the build scripts' true rerun triggers

Both build scripts under-declared their inputs, so Cargo would skip re-running
them when the Qiskit C API they depend on changed.  An existing `target/`
directory then kept output generated against a *previous* Qiskit.

`core`'s script derives an rpath from `QISKIT_LIB` but declared no triggers at
all.  This is easy to miss rather than loud: workspace paths are stable, so the
stale rpath usually still resolves and the link succeeds while pointing at the
wrong library.

`qiskit-sys` declared `rerun-if-env-changed` for `QISKIT_LIB` and
`QISKIT_INCLUDE`, which covers those *paths* changing -- but in CI the paths are
constant by construction while their contents move with the Qiskit version bei... (continued)

4 of 4 new or added lines in 2 files covered. (100.0%)

12087 of 12331 relevant lines covered (98.02%)

528177.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31711362313.1 13 Aug 2026 02:51PM UTC 103
98.02
GitHub Action Run
Source Files on build 31711362313
  • Tree
  • List 103
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31711362313
  • 375e2107 on github
  • Prev Build on main (#31703939257)
  • Next Build on main (#31718972030)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc