Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestPlatform.PR #1837

Merged
merged 20 commits into from
Nov 21, 2018
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Pipeline YAML for PR

resources:
- repo: self
clean: true
queue:
name: VSEng-MicroBuildVS2017
demands:
- DotNetFramework
- Cmd
- msbuild
- visualstudio

steps:

- task: BatchScript@1
displayName: 'Run script build.cmd'
inputs:
filename: build.cmd
arguments: '-verbose -configuration release'
modifyEnvironment: false
failOnStandardError: true

- task: CmdLine@1
displayName: 'Delete stale pdb files'
inputs:
filename: del
arguments: '/S /F *.pdb'
workingFolder: '$(SystemRoot)'
continueOnError: true
condition: always()

- task: BatchScript@1
displayName: 'Run script test.cmd'
inputs:
filename: test.cmd
arguments: '-verbose -configuration $(BuildConfiguration)'
modifyEnvironment: false
failOnStandardError: true

- task: PublishTestResults@2
displayName: 'Publish Test Results **\*.trx'
inputs:
testResultsFormat: VSTest
testResultsFiles: '**\*.trx'
condition: succeededOrFailed()