quantumlib / Cirq

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

CI - deflake `Isolated pytest Ubuntu` #6593

Closed pavoljuhas closed 6 months ago

pavoljuhas commented 6 months ago

Problem: test_isolated_packages may run clashing parallel builds of a local cirq_core wheel.

Solution: Run pip-install with the --no-clean option so parallel builds do not delete active files.

Also invoke isolated_packages_test.py with --enable-slow-tests in CI to include non-slow tests if ever added to that file.