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

Qiskit / qiskit / 16837695320
88%

Build:
DEFAULT BRANCH: main
Ran 08 Aug 2025 07:03PM UTC
Jobs 1
Files 836
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

08 Aug 2025 05:56PM UTC coverage: 87.648% (-0.02%) from 87.665%
16837695320

push

github

web-flow
Add Target::add_instruction() check for number of params (#14842)

* Add Target::add_instruction() check for number of params

This commit adds a validation check to the Target::add_instruction()
method that the number of parameters for the given instruction is
correct. Right now there is no validation of this so you could
incorrectly construct a target that had parameters defined for a gate
that doesn't take any. You would only notice this if you went to use the
gates from the target later during transpilation and would get weird
errors about parameters not being valid for certain things
(ask me how I know). This just adds a simple sanity check similar to
how there was existing qargs validation already but just for parameters
too.

* Add a test for gate with params but different count

55 of 59 new or added lines in 1 file covered. (93.22%)

23 existing lines in 3 files now uncovered.

82344 of 93949 relevant lines covered (87.65%)

545525.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
85.47
0.48% crates/transpiler/src/target/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
5
74.46
-0.16% crates/circuit/src/parameter/symbol_expr.rs
6
90.98
-1.03% crates/qasm2/src/lex.rs
12
95.68
-0.94% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 16837695320.1 08 Aug 2025 07:03PM UTC 836
87.65
GitHub Action Run
Source Files on build 16837695320
  • Tree
  • List 836
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16837695320
  • eb8f7916 on github
  • Prev Build on gh-readonly-queue/main/pr-14803-11625c9d2607a1f56a1ab62ba753acd285c4b90e (#16834979106)
  • Next Build on main (#16882978136)
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

© 2025 Coveralls, Inc