Skip to content

Commit

Permalink
Create client-compatibility.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SiyaoIsHiding authored May 16, 2024
1 parent 21f3df1 commit 2cfde39
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/client-compatibility.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 2cfde39

Please sign in to comment.