Skip to content

Commit 8eb6720

Browse files
committed
Run tests in CI
1 parent 652f86e commit 8eb6720

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,27 @@ on:
44
push:
55
branches: [ "main" ]
66
pull_request:
7-
branches: [ "main" ]
87

98
jobs:
10-
build:
9+
test-and-build:
1110

1211
runs-on: ubuntu-latest
1312

1413
steps:
1514
- uses: actions/checkout@v4
1615
with:
1716
submodules: true
17+
1818
- name: Set up JDK 11
1919
uses: actions/setup-java@v4
2020
with:
2121
java-version: '11'
2222
distribution: 'temurin'
2323
cache: maven
24+
25+
- name: Run tests with Maven
26+
run: mvn -B test --file pom.xml
27+
2428
- name: Build with Maven
2529
run: mvn -B package --file pom.xml
2630

0 commit comments

Comments
 (0)