-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
20 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 |
---|---|---|
|
@@ -17,24 +17,21 @@ jobs: | |
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Add MSBuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Restore NuGet packages | ||
run: msbuild Remoting.sln /p:Configuration=Release /t:Restore | ||
|
||
- name: Run MSBuild on solution | ||
run: msbuild Remoting.sln /p:Configuration=Release | ||
|
||
- name: Add VSTest.Console.exe to PATH | ||
uses: darenm/Setup-VSTest@v1 | ||
|
||
- name: Report release build unit tests | ||
- uses: actions/[email protected] | ||
|
||
- name: Setup .NET | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
- name: Build everything | ||
run: | | ||
dir -r tests/**/*.Tests.dll | where {$_.Directory -like '*\bin\Release\*'}| %{ write-host $_ } | ||
- name: Run release build unit tests | ||
run: dir -r tests/**/*.Tests.dll | where {$_.Directory -like '*\bin\Release\*'}| %{ write-host "`n`n***** $_ *****"; vstest.console.exe $_ /Platform:X64 } | ||
& .\eng\build.ps1 -build $true | ||
- name: Run unit tests | ||
run: | | ||
& .\eng\build.ps1 -build $false -test $true | ||
- name: Test artifact publishing | ||
run: | | ||
& .\eng\build.ps1 -build $false -publish $true |