-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
azure-run-tests.yml
36 lines (30 loc) Β· 984 Bytes
/
azure-run-tests.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
steps:
- task: NodeTool@0
inputs:
versionSpec: $(node_version)
displayName: 'Install Node.js'
- bash: |
npm install -g yarn@1.17.2
displayName: "Install Yarn 1.17.2+"
- bash: |
set -e
node --version
node ./scripts/run-yarn.js build:cli
node ./scripts/run-yarn.js build:plugin-exec
node ./scripts/run-yarn.js build:plugin-stage
node ./scripts/run-yarn.js build:plugin-typescript
node ./scripts/run-yarn.js build:plugin-version
node ./scripts/run-yarn.js build:plugin-workspace-tools
displayName: 'Build the standard bundle & plugins'
- script: |
node ./scripts/run-yarn.js test:integration --runInBand
displayName: 'Run the integration tests'
- script: |
node ./scripts/run-yarn.js test:unit
displayName: 'Run the unit tests'
- task: PublishTestResults@2
inputs:
testResultsFiles: '**/junit.xml'
testRunTitle: $(os_name) Node $(node_version)
displayName: 'Publishing the test results'
condition: always()