We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6587d34 + 5d5ea4a commit c3a82acCopy full SHA for c3a82ac
.github/workflows/unit-tests-on-maven.yml
@@ -0,0 +1,31 @@
1
+# This workflow will run a Unit tests on project with Maven, and cache/restore any dependencies to improve the workflow execution time
2
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3
+
4
+name: Unit tests on Maven
5
6
+on:
7
+ push:
8
+ branches: [ "master" ]
9
+ pull_request:
10
11
12
+jobs:
13
+ tests:
14
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
19
+ - uses: actions/checkout@v3
20
21
+ - name: Set up JDK 17
22
+ uses: actions/setup-java@v3
23
+ with:
24
+ java-version: '17'
25
+ distribution: 'temurin'
26
+ cache: maven
27
28
+ - name: Unit tests with Maven
29
+ working-directory: ./java
30
+ run: mvn clean test
31
0 commit comments