Skip to content

Commit 7c1207f

Browse files
hennes-maertinsjulian-eggers
authored andcommitted
LIBS-587 - Update GitHub workflows and Maven dependencies (#13)
* Update GitHub Actions workflow files * Update springboot-testcontainer-common * Update spring-data-mongodb
1 parent bf035b9 commit 7c1207f

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: mvn surefire:test
3131

3232
- 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
3434

3535
- name: sonar-analyse
3636
env:

.github/workflows/review.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: review
22

33
on:
4-
push:
5-
branches:
6-
- '*'
7-
- '!master'
4+
pull_request:
5+
types: [opened, synchronize]
86

97
jobs:
108
build:
@@ -33,18 +31,20 @@ jobs:
3331
run: mvn surefire:test
3432

3533
- 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
3735

3836
- name: sonar-analyse
3937
env:
4038
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4139
run: |
40+
export GITHUB_PULL_REQUEST=$(cut -d / -f 3 <(echo ${GITHUB_REF}))
4241
export SONAR_ORGANIZATION=$(echo ${GITHUB_REPOSITORY} | cut -d / -f 1)
4342
mvn sonar:sonar \
4443
-Dsonar.host.url=https://sonarcloud.io/ \
4544
-Dsonar.login=${{ secrets.SONAR_TOKEN }} \
4645
-Dsonar.organization=${SONAR_ORGANIZATION} \
4746
-Dsonar.projectKey=${GITHUB_REPOSITORY//\//_} \
47+
-Dsonar.pullrequest.key=${GITHUB_PULL_REQUEST} \
4848
-Dsonar.java.binaries=./target/classes
4949
5050
- name: pom-analyse

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<dependency>
1313
<groupId>com.avides.springboot.testcontainer</groupId>
1414
<artifactId>springboot-testcontainer-mongodb</artifactId>
15-
<version>1.0.0-RC1</version>
15+
<version>1.0.0-RC2</version>
1616
<scope>test</scope>
1717
</dependency>
1818
```

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>com.avides.springboot.testcontainer</groupId>
55
<artifactId>springboot-testcontainer-mongodb</artifactId>
6-
<version>1.0.0-RC1</version>
6+
<version>1.0.0-RC2</version>
77

88
<name>springboot-testcontainer-mongodb</name>
99
<description>MongoDB test-container</description>
@@ -59,7 +59,7 @@
5959
<spring.version>5.2.1.RELEASE</spring.version>
6060
<spring-boot.version>2.2.1.RELEASE</spring-boot.version>
6161
<!-- 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>
6363
</properties>
6464

6565
<dependencies>
@@ -84,7 +84,7 @@
8484
<dependency>
8585
<groupId>org.springframework.data</groupId>
8686
<artifactId>spring-data-mongodb</artifactId>
87-
<version>2.2.1.RELEASE</version>
87+
<version>2.2.2.RELEASE</version>
8888
<scope>provided</scope>
8989
</dependency>
9090

0 commit comments

Comments
 (0)