From 02cbcdb29f6b30b26b4ea18f01491647403c2cf7 Mon Sep 17 00:00:00 2001 From: David Griffin Date: Fri, 15 Nov 2024 14:37:04 -0800 Subject: [PATCH] Add GitHub Actions workflow. --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 0000000..78db6f3 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Run Tests + +on: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + services: + fauna: + image: fauna/faunadb + ports: + - 8443:8443 + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up JDK + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: corretto + + - name: Run sample app + run: ./gradlew build