Skip to content

Shard isolated notebook tests #4192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2021

Conversation

balopat
Copy link
Contributor

@balopat balopat commented Jun 11, 2021

Adds sharding for isolated notebook tests.

These tests only test notebooks against the stable cirq releases. Hence they depend on 4 things: stable cirq release (which does not change), the notebooks, the dev environment and the notebook test itself.

In case the dev environment changes we want to run all the notebooks to ensure everything is still running. However this can take a long time and has been causing issues already on PRs causing timeout in Github Actions.

Sharding the tests to 4 partitions avoids the timeout. This PR also adds the ability to easily modify the number of partitions from the ci.yml directly.

Fixes #4190.

@balopat balopat requested review from cduck, vtomole and a team as code owners June 11, 2021 18:27
@balopat balopat requested a review from mpharrigan June 11, 2021 18:27
@balopat

This comment has been minimized.

@google-cla google-cla bot added the cla: no label Jun 11, 2021
@balopat balopat force-pushed the shard_notebook_tests branch from 6cf11ff to 8cda526 Compare June 11, 2021 18:31
@balopat balopat added cla: yes Makes googlebot stop complaining. and removed cla: no labels Jun 11, 2021
@quantumlib quantumlib deleted a comment from review-notebook-app bot Jun 11, 2021
@quantumlib quantumlib deleted a comment from google-cla bot Jun 11, 2021
@balopat balopat changed the title Shard notebook tests Shard isolated notebook tests Jun 11, 2021
@balopat balopat mentioned this pull request Jun 11, 2021
@balopat balopat requested review from viathor and mpharrigan and removed request for mpharrigan June 11, 2021 21:18
@viathor viathor merged commit 020008b into quantumlib:master Jun 12, 2021
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Makes googlebot stop complaining.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timeout of isolated notebook tests on Github Action
2 participants