File: azure-run-tests.yml

package info (click to toggle)
node-yarnpkg 1.13.0-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 93,036 kB
  • sloc: sh: 323; makefile: 19
file content (30 lines) | stat: -rw-r--r-- 640 bytes parent folder | download | duplicates (3)
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
steps:

- task: NodeTool@0
  inputs:
    versionSpec: $(node_version)
  displayName: 'Install Node.js'

- bash: |
    yarn
    yarn run build
    ls -lhR bin
    ls -lhR lib
  displayName: 'Install and build'

- script: |
    cd packages/pkg-tests
    yarn
  displayName: 'Install the acceptance tests'

- script: |
    cd packages/pkg-tests
    yarn jest yarn --reporters=default --reporters=jest-junit
  displayName: 'Run the acceptance tests'

- task: PublishTestResults@2
  inputs:
    testResultsFiles: '**/junit.xml'
    testRunTitle: $(os_name) Node $(node_version)
  displayName: 'Publishing the test results'
  condition: always()