Skip to content

Commit 24c10e5

Browse files
Create unit-tests.yaml
1 parent 5832349 commit 24c10e5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Unit Tests with Code Coverage
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Set up JDK
17+
uses: actions/setup-java@v3
18+
with:
19+
java-version:
20+
'17'
21+
- name: Build and Test with Code Coverage
22+
run: |
23+
./mvnw clean test jacoco:report

0 commit comments

Comments
 (0)