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

Execute google-java-format-diff.py directly on CI machines #6268

Merged
merged 1 commit into from Mar 10, 2021

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Mar 8, 2021

Execute google-java-format-diff.py directly on CI machines

At the moment google-java-format-diff.py only works with Python2 and CI
machines are starting to use Python3 by default as the 'python' binary.

This defers to the script itself to select the appropriate python
version.

Also fix one google-java-format offender.

@copybara-service copybara-service bot force-pushed the piper_361611243 branch 2 times, most recently from 1ad722b to 6b0dfae Compare March 8, 2021 19:22
@hoisie hoisie changed the title Explicitly use python2 with google-java-format-diff.py Execute google-java-format-diff.py directly on CI machines Mar 8, 2021
@copybara-service copybara-service bot force-pushed the piper_361611243 branch 2 times, most recently from 80a5518 to d18a408 Compare March 8, 2021 19:57
@utzcoz
Copy link
Member

utzcoz commented Mar 9, 2021

@hoisie maybe we also should keep the github action CI machine to the specific Ubuntu version. We use ubuntu-latest now, and it can be upgraded to newer Ubuntu. The last upgrading breaks many projects' github action CI, also robolectric's job to publish test result.

At the moment google-java-format-diff.py only works with Python2 and CI
machines are starting to use Python3 by default as the 'python' binary.

This defers to the script itself to select the appropriate python
version.

Also fix one google-java-format offender.

PiperOrigin-RevId: 361611243
@hoisie hoisie merged commit 4f1290c into master Mar 10, 2021
@hoisie hoisie deleted the piper_361611243 branch July 4, 2021 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants