microsoft/vscode-react-native
Publicmirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable
.ci/smoke-tests-common-validation.yml
24lines · modecode
| 1 | steps: |
| 2 | - script: gulp release --nightly --no-yarn --no-prepublish |
| 3 | displayName: "gulp release" |
| 4 | - task: CopyFiles@2 |
| 5 | displayName: "Copy Files to: $(Build.ArtifactStagingDirectory)" |
| 6 | inputs: |
| 7 | Contents: | |
| 8 | $(System.DefaultWorkingDirectory)/*.vsix |
| 9 | TargetFolder: "$(System.DefaultWorkingDirectory)/test/smoke/resources/extension" |
| 10 | - script: npm run prepare-smoke-tests |
| 11 | displayName: "Prepare smoke tests" |
| 12 | - script: npm run prepare-smoke-tests-project |
| 13 | displayName: "Prepare smoke tests sample project" |
| 14 | - script: npm run smoke-tests --verbose |
| 15 | continueOnError: true |
| 16 | displayName: "Run smoke tests" |
| 17 | env: |
| 18 | DISPLAY: ":99.0" |
| 19 | - task: PublishBuildArtifacts@1 |
| 20 | displayName: "Publish screenshots" |
| 21 | inputs: |
| 22 | PathtoPublish: "$(System.DefaultWorkingDirectory)/test/smoke/screenshots" |
| 23 | ArtifactName: 'smoke-test-screenshots' |
| 24 | publishLocation: 'Container' |
| 25 | |