|
Ran
|
Jobs
1
|
Files
988
|
Run time
3min
|
Badge
README BADGES
|
push
github
Ensure we check min_version constraint first in qpy.load() (#17152) (#17157) * Ensure we check min_version constraint first in qpy.load() This commit fixes an oversight in the QPY load() function where the min_version constraint wasn't checked before calling the rust version. This meant if the min_version was set to a version > QPY_RUST_READ_MIN_VERSION (which is currently 13) nothing would check the configured min_version check. For the python interface fixing this this is a simple matter of moving the version check prior to dispatching to the rust enrtrypoint function. The C API also doesn't currently check the config file. But that is a larger change and will be done in a follow up. * Update releasenotes/notes/fix-min-version-respect-gt-13-e1c986726ceb977d.yaml --------- (cherry picked from commit a2f53b07d) Co-authored-by: Matthew Treinish <mtreinish@kortar.org> Co-authored-by: Jake Lishman <jake@binhbar.com>
4 of 4 new or added lines in 1 file covered. (100.0%)
19 existing lines in 3 files now uncovered.123429 of 140024 relevant lines covered (88.15%)
934081.37 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 12 |
97.19
|
-0.94% | crates/qasm2/src/parse.rs |
| 6 |
91.77
|
-0.26% | crates/qasm2/src/lex.rs |
| 1 |
86.96
|
0.0% | qiskit/qpy/interface.py |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 37517145786.1 | 988 |
88.15
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|