File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -31,20 +31,28 @@ steps:
31
31
- task : NodeTool@0
32
32
inputs :
33
33
versionSpec : $(node_version)
34
- displayName : ' Install Node.js'
34
+ displayName : Install Node.js
35
35
36
36
- script : npm ci
37
+ displayName : Install Dependencies
38
+
37
39
- script : npm run test-azure
40
+ displayName : Run Tests
38
41
39
42
- task : PublishTestResults@2
43
+ displayName : Publish Test Results
40
44
condition : succeededOrFailed()
41
45
inputs :
42
46
testResultsFormat : ' JUnit'
43
47
testResultsFiles : ' $(System.DefaultWorkingDirectory)/test-results.xml'
44
48
45
49
- task : PublishCodeCoverageResults@1
50
+ displayName : Publish Test Coverage Results
46
51
condition : succeededOrFailed()
47
52
inputs :
48
53
codeCoverageTool : ' cobertura'
49
54
summaryFileLocation : ' $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml'
50
55
56
+ - script : npm run test
57
+ displayName : Run Test Natively in Case of Failures
58
+ condition : failed()
You can’t perform that action at this time.
0 commit comments