From 51d9f253fb023313234b0e11c64a9aa48ab34320 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 11 Jul 2023 19:02:24 -0400 Subject: [PATCH] test Signed-off-by: Peter Zhu --- .github/workflows/test.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..e911763365 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,31 @@ +name: Just test + +on: + workflow_dispatch: + pull_request: + +jobs: + build: + strategy: + fail-fast: false + matrix: + jdk: [17] + platform: ["ubuntu-latest"] + if: github.repository == 'opensearch-project/ml-commons' + runs-on: ${{ matrix.platform }} + + permissions: + id-token: write + contents: write + + steps: +# - uses: actions/setup-java@v3 +# with: +# distribution: temurin # Temurin is a distribution of adoptium +# java-version: ${{ matrix.jdk }} + - uses: actions/checkout@v3 + - uses: aws-actions/configure-aws-credentials@v1 + with: + role-to-assume: arn:aws:iam::419213735998:role/ml-role + aws-region: us-west-2 +