-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to YAML-based build for Azure Pipelines and fix silently skipped…
… tests (#666) * Add Azure Pipelines YAML * Include acceptance test results in Azure Pipelines * Name each test run * Invalid path was built with `netcoreapp` instead of `netcoreapp2.1` * Include 'dotnet test' results in uploaded TestResults folder * 'dotnet test' skips .NET Framework projects unless they have <IsTestProject> * Set the test run names for uploaded test results
- Loading branch information
1 parent
65cc406
commit bddee2c
Showing
3 changed files
with
61 additions
and
8 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,25 @@ | ||
trigger: | ||
branches: | ||
include: [ '*' ] | ||
exclude: [ 'refs/tags/*' ] | ||
|
||
pool: | ||
vmImage: windows-latest | ||
|
||
steps: | ||
- powershell: .\build.ps1 --target=CI --configuration=$(BuildConfiguration) | ||
displayName: Build, package, and test | ||
|
||
- task: PublishBuildArtifacts@1 | ||
displayName: Publish bin artifacts | ||
inputs: | ||
PathtoPublish: $(build.sourcesdirectory)\bin\$(BuildConfiguration) | ||
ArtifactName: Bin | ||
condition: succeededOrFailed() | ||
|
||
- task: PublishBuildArtifacts@1 | ||
displayName: Publish package artifacts | ||
inputs: | ||
PathtoPublish: $(build.sourcesdirectory)\package | ||
ArtifactName: Package | ||
condition: succeededOrFailed() |
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