Skip to content

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 a team, cduck and vtomole 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 mpharrigan and viathor 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