Skip to content

Commit

Permalink
LIBS-586 - Update GitHub workflows and Maven dependency (#13)
Browse files Browse the repository at this point in the history
* Update GitHub Actions workflow files
* Update springboot-testcontainer-common
  • Loading branch information
hennes-maertins authored and julian-eggers committed Nov 28, 2019
1 parent 62b21ed commit 04950c3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: mvn surefire:test

- name: integration-tests
run: mvn jacoco:restore-instrumented-classes failsafe:integration-test failsafe:verify
run: mvn -DskipUTs -Dgpg.skip=true jacoco:restore-instrumented-classes verify

- name: sonar-analyse
env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: review

on:
push:
branches:
- '*'
- '!master'
pull_request:
types: [opened, synchronize]

jobs:
build:
Expand Down Expand Up @@ -33,18 +31,20 @@ jobs:
run: mvn surefire:test

- name: integration-tests
run: mvn jacoco:restore-instrumented-classes failsafe:integration-test failsafe:verify
run: mvn -DskipUTs -Dgpg.skip=true jacoco:restore-instrumented-classes verify

- name: sonar-analyse
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export GITHUB_PULL_REQUEST=$(cut -d / -f 3 <(echo ${GITHUB_REF}))
export SONAR_ORGANIZATION=$(echo ${GITHUB_REPOSITORY} | cut -d / -f 1)
mvn sonar:sonar \
-Dsonar.host.url=https://sonarcloud.io/ \
-Dsonar.login=${{ secrets.SONAR_TOKEN }} \
-Dsonar.organization=${SONAR_ORGANIZATION} \
-Dsonar.projectKey=${GITHUB_REPOSITORY//\//_} \
-Dsonar.pullrequest.key=${GITHUB_PULL_REQUEST} \
-Dsonar.java.binaries=./target/classes
- name: pom-analyse
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<dependency>
<groupId>com.avides.springboot.testcontainer</groupId>
<artifactId>springboot-testcontainer-mysql</artifactId>
<version>1.0.0-RC1</version>
<version>1.0.0-RC2</version>
<scope>test</scope>
</dependency>
```
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.avides.springboot.testcontainer</groupId>
<artifactId>springboot-testcontainer-mysql</artifactId>
<version>1.0.0-RC1</version>
<version>1.0.0-RC2</version>

<name>springboot-testcontainer-mysql</name>
<description>MySQL test-container</description>
Expand Down Expand Up @@ -59,7 +59,7 @@
<spring.version>5.2.1.RELEASE</spring.version>
<spring-boot.version>2.2.1.RELEASE</spring-boot.version>
<!-- Other -->
<springboot-testcontainer-common.version>1.0.0-RC1</springboot-testcontainer-common.version>
<springboot-testcontainer-common.version>1.0.0-RC2</springboot-testcontainer-common.version>
</properties>

<dependencies>
Expand Down

0 comments on commit 04950c3

Please sign in to comment.