From 2cfde39c906e33b3c3cd27f8ab3c9a5c334402b7 Mon Sep 17 00:00:00 2001 From: "Siyao (Jane) He" Date: Thu, 16 May 2024 00:22:19 -0700 Subject: [PATCH] Create client-compatibility.yml --- .github/workflows/client-compatibility.yml | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/client-compatibility.yml diff --git a/.github/workflows/client-compatibility.yml b/.github/workflows/client-compatibility.yml new file mode 100644 index 0000000..0a98d45 --- /dev/null +++ b/.github/workflows/client-compatibility.yml @@ -0,0 +1,32 @@ +name: Tests against Java Driver Verions + +on: + workflow_dispatch: + push: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + path: main + + - name: mvn install + run: cd $GITHUB_WORKSPACE/main && mvn install + + - name: Checkout client + uses: actions/checkout@v4 + with: + repository: SiyaoIsHiding/driver-example-app + token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT + ref: github-action + path: client + + - name: Run client app + run: cd $GITHUB_WORKSPACE/client && mvn compile exec:java -Dexec.mainClass="org.example.Main" +