Skip to content

Commit a3d1ed7

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents c89a8f6 + 8811bd5 commit a3d1ed7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/maven.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Run Tests
2+
on: push
3+
jobs:
4+
run_tests:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout the repository
8+
uses: actions/checkout@v2
9+
- name: Set up JDK 17
10+
uses: actions/setup-java@v1
11+
with:
12+
java-version: 17
13+
- name: Cache Maven packages
14+
uses: actions/cache@v2
15+
with:
16+
path: ~/.m2
17+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
18+
restore-keys: ${{ runner.os }}-m2
19+
- name: Run tests with Maven
20+
run: mvn -B test --file pom.xml

0 commit comments

Comments
 (0)