Skip to content

Commit 62d1d92

Browse files
author
Alexander Bainczyk
committed
reenable tests in ci
1 parent 5a276c2 commit 62d1d92

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353
uses: actions/setup-java@v1
5454
with:
5555
java-version: 15
56-
- name: Build with Maven
57-
run: mvn surefire:test --file ./backend/pom.xml
56+
- name: Run unit tests with Maven
57+
run: mvn clean test --file ./backend/pom.xml
5858

5959
test-integration-backend:
6060
needs: test-unit-backend
@@ -65,8 +65,8 @@ jobs:
6565
uses: actions/setup-java@v1
6666
with:
6767
java-version: 15
68-
- name: Build with Maven
69-
run: mvn failsafe:integration-test --file ./backend/pom.xml
68+
- name: Run integration tests with Maven
69+
run: mvn clean verify -Dsurefire.skip=true --file ./backend/pom.xml
7070

7171
package-backend:
7272
needs: test-integration-backend

backend/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@
121121
<awaitility.version>4.0.3</awaitility.version>
122122
<commons-io.version>2.8.0</commons-io.version>
123123
<commons-text.version>1.9</commons-text.version>
124+
125+
<surefire.skip>false</surefire.skip>
124126
</properties>
125127

126128
<licenses>
@@ -428,6 +430,7 @@
428430
<artifactId>maven-surefire-plugin</artifactId>
429431
<version>${surefire-plugin.version}</version>
430432
<configuration>
433+
<skip>${surefire.skip}</skip>
431434
<systemProperties>
432435
<property>
433436
<name>java.util.logging.manager</name>

0 commit comments

Comments
 (0)