diff --git a/.github/workflows/pull-request-tests.yml b/.github/workflows/pull-request-tests.yml new file mode 100644 index 0000000..64a0b47 --- /dev/null +++ b/.github/workflows/pull-request-tests.yml @@ -0,0 +1,32 @@ +name: Run Tests on Pull Requests + +on: + pull_request: + types: + - opened + - edited + - reopened + - synchronize + - ready_for_review + - unlocked + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Set up Java + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + + - name: Build and Verify + run: | + ./mvnw clean verify +