Skip to content

Commit

Permalink
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
Browse files Browse the repository at this point in the history
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.
25 changes: 25 additions & 0 deletions .github/workflows/test-api-consistency.yml
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.*"

0 comments on commit 09962f2

Please sign in to comment.