File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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 >
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 >
You can’t perform that action at this time.
0 commit comments