forked from testcontainers/testcontainers-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
34 lines (31 loc) · 1.1 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
jobs:
- job: azure_pipeline_tests
steps:
# Run a minimal set of tests in normal Linux pipeline builds
- task: Gradle@2
condition: eq(variables['Agent.OS'], 'Linux')
displayName: Build & test (Linux - minimal 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 testcontainers:test --tests GenericContainerRuleTest"
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
# Run all tests when running the Windows CI tests
- task: Gradle@2
condition: eq(variables['Agent.OS'], 'Windows_NT')
displayName: Build & test (Windows - all 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'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'