Skip to content

Commit

Permalink
ci: add workflow for running tests on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleycaselli committed Mar 27, 2024
1 parent c777bce commit 9b7c45d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/maven-test-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Maven Test

on:
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up JDK
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
java-version: "11"
distribution: "temurin"

- name: Test with Maven
run: mvn -B test

0 comments on commit 9b7c45d

Please sign in to comment.