Closed anusreelakshmi934 closed 2 days ago
Tested Workflow using local lsp4ij - https://github.com/anusreelakshmi934/liberty-tools-intellij/actions/runs/9677013839/job/26697778265
@anusreelakshmi934 Changes look good, but I think due to a recent PR merge from @aparnamichael (https://github.com/OpenLiberty/liberty-tools-intellij/pull/849), there are now conflicts that need to be resolved.
Part of #666
Fixes #758 - Build lsp4ij plugin from a branch to use in the LTI automated tests Checkout any branch of
lsp4ij
(main or any merge commit SHA) and use thebuildPlugin
command to create a ZIP file from it. Unzip the file and specify the path to thelib
folder as a plugin dependency inbuild.gradle
.Fixes #756 - Set up a cron job to run every midnight Created a new YAML file named
cronJob.yaml
with theuseLocalPlugin
value set totrue
. This configuration ensures that the cron job will execute the LTI build withuseLocalPlugin=true
.Fixes #783 - Parameterize LTI Build. Build and run tests using lsp4ij either (1) from the marketplace or (2) locally. Added a
workflow_dispatch
event so that we can check theuseLocalPlugin
as true or false.Fixes #757 - Fetch and checkout sha of each opened PR in lsp4ij and run LTI builds. Added a job in the cronJob.yaml file to Extract merge_commit_shas of all the opened PRs in lsp4ij which are not in draft state. Created an array of sha values. Run the LTI Tests for each extracted SHA in parallel, using a matrix strategy to handle multiple SHAs concurrently. Also Run the LTI Tests against lsp4ij main branch