-
Notifications
You must be signed in to change notification settings - Fork 33
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
Skip spotless tasks in Github actions to accelerate the CI #1021
Skip spotless tasks in Github actions to accelerate the CI #1021
Conversation
Reference Server Preview is available here: |
ab434bc
to
6d592e1
Compare
Reference Server Preview is available here: |
6d592e1
to
ac94812
Compare
Reference Server Preview is available here: |
ac94812
to
01f3716
Compare
Reference Server Preview is available here: |
@@ -47,7 +51,7 @@ jobs: | |||
- name: Gradle test and build. (unit tests, integration tests, end-2-end tests and build) | |||
env: | |||
run_docker: false | |||
run: ./gradlew clean build --no-daemon --stacktrace | |||
run: ./gradlew clean build --no-daemon --stacktrace -x spotlessApply -x spotlessCheck -x spotlessKotlin -x spotlessKotlinApply -x javadoc -x javadocJar -x sourcesJar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can skip spotlessApply
, but not check. If a developer tries to submit unformatted code, we should be catching it in CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@philipliu If spotlessCheck
fails, does it fail the CI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed -x spotlessCheck
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I missed this earlier, but we should keep spotlessKotlin
too right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem at all. Thanks for catching these gotchas. I had removed -x spotlessKotlin
.
01f3716
to
7a9de59
Compare
Reference Server Preview is available here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a minor comment about spotlessKotlin
.
799d37f
to
a540f89
Compare
Reference Server Preview is available here: |
Something went wrong with PR preview build please check |
Reference Server Preview is available here: |
PR Checklist
PR Structure
otherwise).
paymentservice.stellar
, orall
ordoc
if the changes are broad or impact manypackages.
Thoroughness
What
Skip spotless tasks in Github actions to accelerate the CI
Why
Optimization