generated from JetBrains/intellij-platform-plugin-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(github-actions): add workflow generation
- Modify `GenerateGitHubActionsAction.kt` to create the necessary directories for GitHub Actions workflows. - Add unit test template for generating GitHub Actions workflows. - Modify `TemplateRender.kt` to render the GitHub Actions workflow template. - Modify `TestCodeGenTask.kt` to use the GitHub Actions workflow template for generating workflows. - Add `TestGenPromptContext` data class to hold the prompt context for generating GitHub Actions workflows.
- Loading branch information
Showing
4 changed files
with
63 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Write unit test for following ${context.lang} code. | ||
|
||
${context.frameworkedContext} | ||
|
||
${context.relatedClasses} | ||
|
||
#if( $context.currentClass.length() > 0 ) | ||
Here is current class information: | ||
${context.currentClass} | ||
#end | ||
|
||
${context.imports} | ||
|
||
## if newFile | ||
#if( $context.isNewFile ) | ||
Start method test code here: | ||
#else | ||
Start ${context.testClassName} with `import` syntax here: | ||
#end | ||
|
||
|