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

Qiskit / qiskit / 13139895535
88%

Build:
DEFAULT BRANCH: main
Ran 04 Feb 2025 04:40PM UTC
Jobs 1
Files 913
Run time 5min
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

04 Feb 2025 03:23PM UTC coverage: 88.829% (-0.02%) from 88.846%
13139895535

push

github

web-flow
Make sure that 'tox -erust' fails on bad RC. (#13753)

* Make sure that 'tox -erust' fails on bad RC.

Previously, a non-zero exit code from the subprocess would not
fail the tox run like we'd expect.

* Use script to run cargo test, simplify subprocess call.

* Use PYTHONPATH instead of PYTHONUSERBASE.

This fixes an issue where the site-packages added to sys.path
could be wrong (e.g. if using Framework-based Python on macOS).

This was happening because the venv would install qiskit using
one pathing scheme while the Python interpreter baked into the test
executable would use (potentially) another when generating the path
from PYTHONUSERBASE.

See https://docs.python.org/3/library/sysconfig.html#installation-paths
for details.

To resolve this, we just set the path to the venv's site-packages via
PYTHONPATH.

* Add CWD to search path when running run_cargo_test.py

* Update docs.

79723 of 89749 relevant lines covered (88.83%)

349565.47 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.08
-0.05% crates/accelerate/src/two_qubit_decompose.rs
1
92.97
-0.12% crates/accelerate/src/unitary_synthesis.rs
1
94.23
-0.23% crates/qasm2/src/expr.rs
5
92.23
0.0% crates/qasm2/src/lex.rs
12
96.68
-0.93% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 13139895535.1 04 Feb 2025 04:40PM UTC 913
88.83
GitHub Action Run
Source Files on build 13139895535
  • Tree
  • List 913
  • Changed 68
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13139895535
  • 8095ace7 on github
  • Prev Build on main (#13135899673)
  • Next Build on main (#13154732632)
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