This repository was archived by the owner on Apr 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +33
-9
lines changed Expand file tree Collapse file tree 2 files changed +33
-9
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests (Feature)
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - ' feature/**'
8
+ paths :
9
+ - ' src/**'
10
+ - ' pom.xml'
11
+ - ' .github/workflows/featureTests.yml'
12
+
13
+ jobs :
14
+ test :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v1
18
+ - name : Set up JDK
19
+ uses : actions/setup-java@v1
20
+ with :
21
+ java-version : ' 11.0.8'
22
+ architecture : x64
23
+ - name : Run Tests and update Sonar
24
+ run : |
25
+ mvn clean verify
Original file line number Diff line number Diff line change 1
- name : Tests
1
+ name : Tests (Master)
2
2
3
3
on :
4
4
workflow_dispatch :
5
5
push :
6
+ branches :
7
+ - ' master'
6
8
paths :
7
9
- ' src/**'
8
10
- ' pom.xml'
9
- - ' .github/workflows/tests .yml'
11
+ - ' .github/workflows/masterTests .yml'
10
12
11
13
jobs :
12
- Run_all_tests :
14
+ test :
13
15
runs-on : ubuntu-latest
14
16
steps :
15
- -
16
- uses : actions/checkout@v1
17
- -
18
- name : Set up JDK
17
+ - uses : actions/checkout@v1
18
+ - name : Set up JDK
19
19
uses : actions/setup-java@v1
20
20
with :
21
21
java-version : ' 11.0.8'
22
22
architecture : x64
23
- -
24
- name : Run Tests and update Sonar
23
+ - name : Run Tests and update Sonar
25
24
run : |
26
25
mvn clean verify sonar:sonar -s ./settings.xml
27
26
env :
You can’t perform that action at this time.
0 commit comments