Skip to content

Commit e977062

Browse files
committed
excluding intTests from unit tests
1 parent 6da9d1e commit e977062

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build_workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ jobs:
109109
- name: Execute Unit Tests
110110
run: |
111111
if [[ $GITHUB_ACTOR == 'dependabot[bot]' ]]; then
112-
./gradlew test jacocoTestReport --parallel --build-cache
112+
./gradlew test jacocoTestReport -x integrationTest --parallel --build-cache
113113
else
114-
./gradlew test jacocoTestReport sonar --parallel --build-cache
114+
./gradlew test jacocoTestReport sonar -x integrationTest --parallel --build-cache
115115
fi
116116
working-directory: ./service
117117
env:

service/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dependencies {
5050
implementation 'org.springframework.boot:spring-boot-starter-logging'
5151

5252
// Infrastructure
53-
implementation 'software.amazon.awssdk:s3:2.27.17'
53+
implementation 'software.amazon.awssdk:s3:2.28.29'
5454
implementation ('com.azure:azure-storage-blob:12.29.0')
5555
implementation 'org.apache.qpid:qpid-jms-client:2.6.1'
5656

@@ -179,3 +179,5 @@ sonar {
179179
bootJar {
180180
exclude("**/TransformJsonToXml*")
181181
}
182+
183+
integrationTest.mustRunAfter test

0 commit comments

Comments
 (0)