-
Notifications
You must be signed in to change notification settings - Fork 273
fix(amazonq): skip tests locally #5401
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
Conversation
| FormItemOption( | ||
| label = message("codemodernizer.chat.message.skip_tests_form.skip"), | ||
| value = message("codemodernizer.chat.message.skip_tests_form.skip"), | ||
| ) |
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.
Just switch the order of these 2 options so that "skip tests" is the default
| } else { | ||
| } else if (CodeModernizerSessionState.getInstance(context.project).currentJobId != null) { | ||
| val downloadResult = artifactHandler.downloadArtifact( | ||
| CodeModernizerSessionState.getInstance(context.project).currentJobId as JobId, |
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.
Before attempting download, make sure that a job ID exists (job may not have started otherwise, so nothing to download)
...ity/src/software/aws/toolkits/jetbrains/services/codemodernizer/ideMaven/MavenRunnerUtils.kt
Outdated
Show resolved
Hide resolved
| sourceFolder: File, | ||
| destinationDir: File, | ||
| buildlogBuilder: StringBuilder, | ||
| logBuilder: StringBuilder, |
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.
Got a detekt error elsewhere because a line was too long, so just shortened this name everywhere in this file
Types of changes
Description
Pass in the
-DskipTestsflag when users choose to skip tests, so that they are actually skipped locally.Checklist
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.