diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..66bc167e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: unit test on push +on: [ pull_request ] + +jobs: + deploy: + name: unit test + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v3 + with: + token: ${{ secrets.PRIVATE_TOKEN }} + submodules: true + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' + + - name: Build with Gradle + run: | + chmod +x ./gradlew + ./gradlew --info test