-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding the YAML file for PR * Removed redundant lines. * Acceptance tests and adding changes for Ubuntu * Removed redundant fields * Updating the Ubuntu scripts * Updating the shell script * Case sensitivity for build configuration * Removing the test for Ubuntu for now. * Trying on hosted agents for Windows as well. * Fixing flaky console logger tests. * Fixing the Common platform tests * Fix for the smoke tests run. * Fixing the name for trx for publishing the test run
- Loading branch information
1 parent
ed25c64
commit b010901
Showing
7 changed files
with
104 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Pipeline YAML for PR | ||
|
||
jobs: | ||
- job: Windows | ||
pool: | ||
vmImage: 'vs2017-win2016' | ||
variables: | ||
buildConfiguration: 'Release' | ||
steps: | ||
- task: BatchScript@1 | ||
displayName: 'Run script build.cmd' | ||
inputs: | ||
filename: build.cmd | ||
arguments: '-verbose -configuration $(buildConfiguration)' | ||
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 Unit Tests' | ||
inputs: | ||
filename: test.cmd | ||
arguments: '-verbose -configuration $(buildConfiguration)' | ||
modifyEnvironment: false | ||
failOnStandardError: true | ||
|
||
- task: BatchScript@1 | ||
displayName: 'Run Acceptance Tests' | ||
inputs: | ||
filename: test.cmd | ||
arguments: '-verbose -configuration $(buildConfiguration) -p AcceptanceTests -f net451' | ||
modifyEnvironment: false | ||
failOnStandardError: true | ||
|
||
- task: BatchScript@1 | ||
displayName: 'Run Platform Tests' | ||
inputs: | ||
filename: test.cmd | ||
arguments: '-verbose -configuration $(buildConfiguration) -p platformtests' | ||
modifyEnvironment: false | ||
failOnStandardError: true | ||
|
||
- task: BatchScript@1 | ||
displayName: 'Run Smoke Tests' | ||
inputs: | ||
filename: test.cmd | ||
arguments: '-verbose -configuration $(buildConfiguration) -p smoke' | ||
modifyEnvironment: false | ||
failOnStandardError: true | ||
|
||
- task: PublishTestResults@2 | ||
displayName: 'Publish Test Results **\*.trx' | ||
inputs: | ||
testResultsFormat: VSTest | ||
testResultsFiles: '**\*.trx' | ||
condition: succeededOrFailed() | ||
|
||
- job: Linux | ||
pool: | ||
vmImage: 'ubuntu-16.04' | ||
variables: | ||
buildConfiguration: 'Release' | ||
steps: | ||
- script: ./build.sh -c $(buildConfiguration) | ||
displayName: './build.sh -c $(buildConfiguration)' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
test/Microsoft.TestPlatform.Common.PlatformTests/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright (c) Microsoft. All rights reserved. | ||
|
||
namespace Microsoft.VisualStudio.TestPlatform.Common.UnitTests | ||
{ | ||
public static class Program | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters