Skip to content

Commit 1110950

Browse files
author
martin
committed
Fix Maven test command to ignore modules without tests
1 parent 6171fe6 commit 1110950

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Run unit tests
4040
run: |
4141
cd backend
42-
mvn test -Dspring.profiles.active=test -Dtest=!*IntegrationTest
42+
mvn test -Dspring.profiles.active=test -Dtest=!*IntegrationTest -Dsurefire.failIfNoSpecifiedTests=false
4343
env:
4444
SPRING_DATASOURCE_URL: jdbc:postgresql://localhost:5432/testdb
4545
SPRING_DATASOURCE_USERNAME: test

0 commit comments

Comments
 (0)