Skip to content

Commit decf9b9

Browse files
authored
Refactor azure-pipelines.yaml (#697)
1 parent 45cd69d commit decf9b9

File tree

2 files changed

+73
-343
lines changed

2 files changed

+73
-343
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
parameters:
2+
- name: 'versions'
3+
type: object
4+
default: {}
5+
- name: 'testOptions'
6+
type: string
7+
default: ''
8+
9+
steps:
10+
- ${{ each version in parameters.versions }}:
11+
- task: DotNetCoreCLI@2
12+
displayName: 'E2E tests for Spark ${{ version }}'
13+
inputs:
14+
command: test
15+
projects: '**/Microsoft.Spark.E2ETest/*.csproj'
16+
arguments: '--configuration $(buildConfiguration) ${{ parameters.testOptions }}'
17+
env:
18+
SPARK_HOME: $(Build.BinariesDirectory)\spark-${{ version }}-bin-hadoop2.7

0 commit comments

Comments
 (0)