Skip to content

Commit 3b3d130

Browse files
authored
Split Windows CI into core and non-core steps (testcontainers#4293)
1 parent 034daa6 commit 3b3d130

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

azure-pipelines.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,32 @@ jobs:
1818
publishJUnitResults: true
1919
testResultsFiles: '**/TEST-*.xml'
2020

21-
# Run all tests when running the Windows CI tests
21+
# Run all core tests when running the Windows CI tests
2222
- task: Gradle@2
2323
condition: eq(variables['Agent.OS'], 'Windows_NT')
24-
displayName: Build & test (Windows - all modules)
24+
displayName: Build & test (Windows - core)
2525
env:
2626
AWS_ACCESS_KEY_ID: $(aws.accessKeyId)
2727
AWS_SECRET_ACCESS_KEY: $(aws.secretAccessKey)
2828
inputs:
2929
gradleWrapperFile: 'gradlew'
3030
jdkVersionOption: '1.11'
3131
options: '--no-daemon --continue'
32-
tasks: 'clean check'
32+
tasks: 'clean testcontainers:check'
33+
publishJUnitResults: true
34+
testResultsFiles: '**/TEST-*.xml'
35+
36+
# Run all non-core tests when running the Windows CI tests
37+
- task: Gradle@2
38+
condition: eq(variables['Agent.OS'], 'Windows_NT')
39+
displayName: Build & test (Windows - all non-core modules)
40+
env:
41+
AWS_ACCESS_KEY_ID: $(aws.accessKeyId)
42+
AWS_SECRET_ACCESS_KEY: $(aws.secretAccessKey)
43+
inputs:
44+
gradleWrapperFile: 'gradlew'
45+
jdkVersionOption: '1.11'
46+
options: '--no-daemon --continue'
47+
tasks: 'clean check -x testcontainers:test'
3348
publishJUnitResults: true
3449
testResultsFiles: '**/TEST-*.xml'

0 commit comments

Comments
 (0)