-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separated out tests in a different GHA workflow
Signed-off-by: Owais Kazi <[email protected]>
- Loading branch information
1 parent
446c32d
commit 632b450
Showing
2 changed files
with
43 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Test Plugin | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- 'whitesource-remediate/**' | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macOS-latest | ||
- windows-latest | ||
java: | ||
- 17 | ||
test: | ||
if: github.repository == 'opensearch-project/opensearch-ai-flow-framework' | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Test | ||
run: ./gradlew test | ||
yamlRestTest: | ||
if: github.repository == 'opensearch-project/opensearch-ai-flow-framework' | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Test | ||
run: ./gradlew yamlRestTest | ||
integTest: | ||
if: github.repository == 'opensearch-project/opensearch-ai-flow-framework' | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Test | ||
run: ./gradlew integTest |