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

Qiskit / qiskit / 25822818832
88%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 08:20PM UTC
Jobs 1
Files 939
Run time 3min
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 May 2026 07:25PM UTC coverage: 87.639% (-0.005%) from 87.644%
25822818832

push

github

web-flow
Fix file leak from tests (#16156)

* Fix file leak from tests

In the the phase oracle tests two tests were creating temporary files in
the unit tests to write out a dimacs file to use as an input to
the phase oracle's .from_dimacs() file method. This temporary file was
created with mkstemp, but then nothing would cleanup that created file.
This meant that every time you ran the unit tests a new pair of temporary
files were created and remained on the filesystem. This fixes this
oversight and adds an .addCleanup() call to remove the file after the
test methods exit.

* Avoid trying to delete an open file descriptor for Windows

Windows has the additional limitation that you can't try to close a file
while something has it open. To workaround this limitation this changes
how the tempfile is created to use a NamedTemporaryFile context manager
to ensure we always close the file descriptor from the test code once we
generate the file. Then we pass the file name to the function under test
and still use addCleanup to ensure we always remove the file.

107049 of 122147 relevant lines covered (87.64%)

961572.09 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
92.29
-0.77% crates/qasm2/src/lex.rs
4
74.09
-0.08% crates/circuit/src/parameter/symbol_expr.rs
1
93.82
-0.24% crates/qasm2/src/expr.rs
Jobs
ID Job ID Ran Files Coverage
1 25822818832.1 13 May 2026 08:20PM UTC 939
87.64
GitHub Action Run
Source Files on build 25822818832
  • Tree
  • List 939
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25822818832
  • 4b22ccf0 on github
  • Prev Build on gh-readonly-queue/main/pr-16132-02f052dfce3bb1fd9a5818d72d1536811acbaea4 (#25723423515)
  • Next Build on main (#25843677328)
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