forked from testcontainers/testcontainers-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
38 lines (35 loc) · 1.16 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
jobs:
- job: core_tests
timeoutInMinutes: 60
steps:
# Run all core tests when running the Windows CI tests
- task: Gradle@2
condition: eq(variables['Agent.OS'], 'Windows_NT')
displayName: Build & test (Windows - core)
env:
AWS_ACCESS_KEY_ID: $(aws.accessKeyId)
AWS_SECRET_ACCESS_KEY: $(aws.secretAccessKey)
inputs:
gradleWrapperFile: 'gradlew'
jdkVersionOption: '1.8'
options: '--no-daemon --continue'
tasks: 'clean testcontainers:check'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
- job: other_tests
timeoutInMinutes: 120
steps:
# 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.8'
options: '--no-daemon --continue'
tasks: 'clean check -x testcontainers:test'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'