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

Split up some larger CI/tox steps into separate jobs #511

Merged
merged 1 commit into from
Aug 12, 2021

Conversation

lpetre
Copy link
Contributor

@lpetre lpetre commented Aug 11, 2021

Summary

This takes the runtime of the CI from ~8 minutes to <5 mins.

There is some unfortunate duplication, and I wish needs could depend on one matrix configuration.

Otherwise I'm very happy with this change.

This also enables me to ship windows testing, as I don't rely on tox anymore.

Test Plan

See https://github.com/lpetre/LibCST/actions/runs/1121624876

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 11, 2021
@lpetre lpetre force-pushed the less_tox branch 3 times, most recently from 198f669 to 9395770 Compare August 11, 2021 21:34
Copy link
Member

@zsol zsol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is great! thx

@lpetre
Copy link
Contributor Author

lpetre commented Aug 12, 2021

this is great! thx

👍 I was able to move the copy/pasta into a local action file, phew!

@lpetre lpetre force-pushed the less_tox branch 6 times, most recently from df87d5b to 6c72869 Compare August 12, 2021 19:07
@lpetre
Copy link
Contributor Author

lpetre commented Aug 12, 2021

this is great! thx

👍 I was able to move the copy/pasta into a local action file, phew!

Actually that didn't work at all. The composite run actions doesn't support uses or if which makes it worthless for my usecase.

Interesting thread here: actions/runner#646 (comment)

Including this gem from June 2021:

We plan on enabling the uses keyword, which allows us to support:

I will revisit the copy/pasta when uses is supported

@lpetre lpetre merged commit 695f844 into Instagram:master Aug 12, 2021
@lpetre lpetre deleted the less_tox branch August 12, 2021 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants