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

Qiskit / qiskit / 25821429607
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-16134-376781740b66fbf50c95384f6347d6f3ef9c0508
DEFAULT BRANCH: main
Ran 13 May 2026 07:59PM 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.63% (-0.01%) from 87.644%
25821429607

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.

107038 of 122147 relevant lines covered (87.63%)

960073.97 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
73.93
-0.25% crates/circuit/src/parameter/symbol_expr.rs
7
92.03
-1.03% crates/qasm2/src/lex.rs
6
97.63
-0.47% crates/qasm2/src/parse.rs
1
91.04
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
93.82
-0.24% crates/qasm2/src/expr.rs
Jobs
ID Job ID Ran Files Coverage
1 25821429607.1 13 May 2026 07:59PM UTC 939
87.63
GitHub Action Run
Source Files on build 25821429607
  • Tree
  • List 939
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25821429607
  • 4b22ccf0 on github
  • Prev Build on gh-readonly-queue/main/pr-16132-02f052dfce3bb1fd9a5818d72d1536811acbaea4 (#25723423515)
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