forked from microsoft/vscode-pull-request-github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipeline.pr.yml
39 lines (33 loc) · 1.27 KB
/
azure-pipeline.pr.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
37
38
39
jobs:
- job: test_suite
displayName: Test suite
pool:
vmImage: 'macOS-10.15'
steps:
- template: scripts/ci/common-setup.yml
- script: yarn run compile
displayName: Compile
- script: yarn run test
displayName: Run test suite
env:
TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/test-results.xml
- script: yarn run browsertest --browserType=chromium
displayName: Run test suite (chromium)
env:
TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/browser-chromium-test-results.xml
- script: yarn run browsertest --browserType=firefox
displayName: Run test suite (firefox)
env:
TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/browser-firefox-test-results.xml
- script: yarn run browsertest --browserType=webkit
displayName: Run test suite (webkit)
env:
TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/browser-webkit-test-results.xml
- task: PublishTestResults@2
displayName: Publish test results
inputs:
testResultsFormat: JUnit
testResultsFiles: $(Agent.HomeDirectory)/*test-results.xml
testRunTitle: Mocha test suite
failTaskOnFailedTests: true
condition: succeededOrFailed()