forked from opensearch-project/flow-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added github Action to run api consistency test daily
Signed-off-by: Junwei Dai <[email protected]>
Junwei Dai
committed
Oct 28, 2024
1 parent
53c9596
commit 09962f2
Showing
1 changed file
with
25 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Daily API Consistency Test | ||
|
||
on: | ||
schedule: | ||
- cron: '0 8 * * *' # Runs daily at 8 AM UTC | ||
|
||
jobs: | ||
API-consistency-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: [21] | ||
|
||
steps: | ||
- name: Checkout Flow Framework | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Java ${{ matrix.java }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
|
||
- name: Run API Consistency Tests | ||
run: ./gradlew test --tests "org.opensearch.flowframework.workflow.*" |