Skip to content
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

[WIP] Test usage of pytest-split for platform tests. #4913

Closed
wants to merge 48 commits into from

Conversation

MichaelBroughton
Copy link
Collaborator

@MichaelBroughton MichaelBroughton commented Jan 28, 2022

CI is annoyingly slow. Test splitting up for more speed. This bring a single PR up to 44 checks from 33. Looking at CI history this brings times down from 15 - 20 mins down to ~10 ish.

This introduces the use of pytest-split to divide up test workloads across CI machines (requires no communication so much better performance boost vs pytest-xdist or other)

This also introduces the use of the cache@v2 action to store copies of the pip cache on a per OS/image basis. This can help cut down drastically on install time.

@MichaelBroughton MichaelBroughton requested review from cduck, vtomole and a team as code owners January 28, 2022 22:21
@CirqBot CirqBot added the size: XL lines changed >1000 label Jan 28, 2022
@quantumlib quantumlib deleted a comment from codecov-commenter Jan 29, 2022
@MichaelBroughton MichaelBroughton added the Ready for Re-Review For when reviewers take their time. label Feb 4, 2022
pavoljuhas added a commit to pavoljuhas/Cirq that referenced this pull request Feb 18, 2022
Allow passing pytest arguments to check/pytest-and-incremental-coverage.
Cherry-picked changes from quantumlib#4913
by Michael Broughton.
pavoljuhas added a commit to pavoljuhas/Cirq that referenced this pull request Feb 18, 2022
@MichaelBroughton
Copy link
Collaborator Author

Closing for now since we've got all the major spinoff PRs merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready for Re-Review For when reviewers take their time. size: XL lines changed >1000
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants