quantumlib / Cirq

A Python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
Apache License 2.0
4.24k stars 1.01k forks source link

CI - deflake `Isolated pytest Ubuntu` #6603

Closed pavoljuhas closed 4 months ago

pavoljuhas commented 4 months ago

Problem: test_isolated_packages.py is still flaky and can fail on parallel builds of a local cirq_core wheel.

Solution: Use per-worker copy of the cirq-core sources so that parallel builds do not have conflicting build files.

Follow-up to #6593

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 33.33333% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 97.81%. Comparing base (cf86dda) to head (0cbc728).

Files Patch % Lines
dev_tools/notebooks/notebook_test.py 25.00% 3 Missing :warning:
dev_tools/packaging/isolated_packages_test.py 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6603 +/- ## ========================================== - Coverage 97.81% 97.81% -0.01% ========================================== Files 1061 1061 Lines 91656 91659 +3 ========================================== + Hits 89657 89658 +1 - Misses 1999 2001 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

pavoljuhas commented 4 months ago

ci-daily is passing for this PR at cad05ec029e1dbb2a6613327f5387dc574636f7b https://github.com/quantumlib/Cirq/actions/runs/9107901404?pr=6603