From 67d66377cc9e9e46ca55898547caa28af52b2295 Mon Sep 17 00:00:00 2001 From: Witixin1512 <73248264+Witixin1512@users.noreply.github.com> Date: Sat, 27 Jan 2024 22:43:54 +0100 Subject: [PATCH] Update workflow file to run tests --- .github/workflows/main.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2f5069958..343193352 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,13 +9,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v4 with: submodules: 'recursive' - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + - name: Set up JDK 8 + uses: actions/setup-java@v2 with: - java-version: 1.8 + java-version: '8' + distribution: 'zulu' - name: Cache uses: actions/cache@v1 with: @@ -23,5 +24,7 @@ jobs: key: ${{ runner.os }}-gradle-${{ hashFiles('build.gradle') }} - name: Executable gradlew run: chmod +x gradlew - - name: Build with Gradle - run: ./gradlew build \ No newline at end of file + - name: Run Tests + run: ./gradlew ScriptingExample:test + #The project does not `build` atm, but we're using the ScriptingExample module to track passing tests +