Skip to content

Commit

Permalink
fix: use command line to run tests so that stdio is visible
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 committed Apr 7, 2020
1 parent 41fa0d3 commit 371d216
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .ci/common-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,20 @@ steps:
targets: compile
publishJUnitResults: true

- task: Npm@1
# A shell script here due to https://github.com/microsoft/azure-pipelines-tasks/issues/12650
- task: CmdLine@2
displayName: npm test
inputs:
command: custom
verbose: false
customCommand: test
timeoutInMinutes: 15
script: npm test
timeoutInMinutes: 12
condition: eq(${{ parameters.runTests }}, true)
env:
DISPLAY: ':99.0'

- task: Npm@1
- task: CmdLine@2
displayName: npm test (framework tests)
inputs:
command: custom
verbose: false
customCommand: test
script: npm test
timeoutInMinutes: 10
condition: eq(${{ parameters.runFrameworkTests }}, true)
env:
Expand Down

0 comments on commit 371d216

Please sign in to comment.