Skip to content

Commit c65415b

Browse files
committed
[INTERNAL] Azure Pipelines: Rerun tests with native AVA output on failure
Also name all steps properly
1 parent f5511e6 commit c65415b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

azure-pipelines.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,28 @@ steps:
3131
- task: NodeTool@0
3232
inputs:
3333
versionSpec: $(node_version)
34-
displayName: 'Install Node.js'
34+
displayName: Install Node.js
3535

3636
- script: npm ci
37+
displayName: Install Dependencies
38+
3739
- script: npm run test-azure
40+
displayName: Run Tests
3841

3942
- task: PublishTestResults@2
43+
displayName: Publish Test Results
4044
condition: succeededOrFailed()
4145
inputs:
4246
testResultsFormat: 'JUnit'
4347
testResultsFiles: '$(System.DefaultWorkingDirectory)/test-results.xml'
4448

4549
- task: PublishCodeCoverageResults@1
50+
displayName: Publish Test Coverage Results
4651
condition: succeededOrFailed()
4752
inputs:
4853
codeCoverageTool: 'cobertura'
4954
summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml'
5055

56+
- script: npm run test
57+
displayName: Run Test Natively in Case of Failures
58+
condition: failed()

0 commit comments

Comments
 (0)