File tree 4 files changed +10
-10
lines changed
4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 30
30
run : mvn surefire:test
31
31
32
32
- name : integration-tests
33
- run : mvn jacoco:restore-instrumented-classes failsafe:integration-test failsafe: verify
33
+ run : mvn -DskipUTs -Dgpg.skip=true jacoco:restore-instrumented-classes verify
34
34
35
35
- name : sonar-analyse
36
36
env :
Original file line number Diff line number Diff line change 1
1
name : review
2
2
3
3
on :
4
- push :
5
- branches :
6
- - ' *'
7
- - ' !master'
4
+ pull_request :
5
+ types : [opened, synchronize]
8
6
9
7
jobs :
10
8
build :
@@ -33,18 +31,20 @@ jobs:
33
31
run : mvn surefire:test
34
32
35
33
- name : integration-tests
36
- run : mvn jacoco:restore-instrumented-classes failsafe:integration-test failsafe: verify
34
+ run : mvn -DskipUTs -Dgpg.skip=true jacoco:restore-instrumented-classes verify
37
35
38
36
- name : sonar-analyse
39
37
env :
40
38
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
39
run : |
40
+ export GITHUB_PULL_REQUEST=$(cut -d / -f 3 <(echo ${GITHUB_REF}))
42
41
export SONAR_ORGANIZATION=$(echo ${GITHUB_REPOSITORY} | cut -d / -f 1)
43
42
mvn sonar:sonar \
44
43
-Dsonar.host.url=https://sonarcloud.io/ \
45
44
-Dsonar.login=${{ secrets.SONAR_TOKEN }} \
46
45
-Dsonar.organization=${SONAR_ORGANIZATION} \
47
46
-Dsonar.projectKey=${GITHUB_REPOSITORY//\//_} \
47
+ -Dsonar.pullrequest.key=${GITHUB_PULL_REQUEST} \
48
48
-Dsonar.java.binaries=./target/classes
49
49
50
50
- name : pom-analyse
Original file line number Diff line number Diff line change 12
12
<dependency >
13
13
<groupId >com.avides.springboot.testcontainer</groupId >
14
14
<artifactId >springboot-testcontainer-mongodb</artifactId >
15
- <version >1.0.0-RC1 </version >
15
+ <version >1.0.0-RC2 </version >
16
16
<scope >test</scope >
17
17
</dependency >
18
18
```
Original file line number Diff line number Diff line change 3
3
4
4
<groupId >com.avides.springboot.testcontainer</groupId >
5
5
<artifactId >springboot-testcontainer-mongodb</artifactId >
6
- <version >1.0.0-RC1 </version >
6
+ <version >1.0.0-RC2 </version >
7
7
8
8
<name >springboot-testcontainer-mongodb</name >
9
9
<description >MongoDB test-container</description >
59
59
<spring .version>5.2.1.RELEASE</spring .version>
60
60
<spring-boot .version>2.2.1.RELEASE</spring-boot .version>
61
61
<!-- Other -->
62
- <springboot-testcontainer-common .version>1.0.0-RC1 </springboot-testcontainer-common .version>
62
+ <springboot-testcontainer-common .version>1.0.0-RC2 </springboot-testcontainer-common .version>
63
63
</properties >
64
64
65
65
<dependencies >
84
84
<dependency >
85
85
<groupId >org.springframework.data</groupId >
86
86
<artifactId >spring-data-mongodb</artifactId >
87
- <version >2.2.1 .RELEASE</version >
87
+ <version >2.2.2 .RELEASE</version >
88
88
<scope >provided</scope >
89
89
</dependency >
90
90
You can’t perform that action at this time.
0 commit comments