Skip to content

Commit

Permalink
Split Windows CI into core and non-core steps (#4293)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnorth committed Jul 20, 2021
1 parent 034daa6 commit 3b3d130
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,32 @@ jobs:
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'

# Run all tests when running the Windows CI tests
# Run all core tests when running the Windows CI tests
- task: Gradle@2
condition: eq(variables['Agent.OS'], 'Windows_NT')
displayName: Build & test (Windows - all modules)
displayName: Build & test (Windows - core)
env:
AWS_ACCESS_KEY_ID: $(aws.accessKeyId)
AWS_SECRET_ACCESS_KEY: $(aws.secretAccessKey)
inputs:
gradleWrapperFile: 'gradlew'
jdkVersionOption: '1.11'
options: '--no-daemon --continue'
tasks: 'clean check'
tasks: 'clean testcontainers:check'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'

# Run all non-core tests when running the Windows CI tests
- task: Gradle@2
condition: eq(variables['Agent.OS'], 'Windows_NT')
displayName: Build & test (Windows - all non-core modules)
env:
AWS_ACCESS_KEY_ID: $(aws.accessKeyId)
AWS_SECRET_ACCESS_KEY: $(aws.secretAccessKey)
inputs:
gradleWrapperFile: 'gradlew'
jdkVersionOption: '1.11'
options: '--no-daemon --continue'
tasks: 'clean check -x testcontainers:test'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'

0 comments on commit 3b3d130

Please sign in to comment.