File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 disable_publish_on_pr : true
6868
6969build_script :
70- - ps : .\build.ps1 -PullRequestNumber "$env:APPVEYOR_PULL_REQUEST_NUMBER" -CreatePackages ($env:OS -eq "Windows_NT")
70+ - ps : .\build.ps1 -PullRequestNumber "$env:APPVEYOR_PULL_REQUEST_NUMBER" -CreatePackages ($env:OS -eq "Windows_NT") -NetCoreOnlyTests
7171
7272test : off
7373artifacts :
Original file line number Diff line number Diff line change 33 [bool ] $CreatePackages ,
44 [switch ] $StartServers ,
55 [bool ] $RunTests = $true ,
6- [string ] $PullRequestNumber
6+ [string ] $PullRequestNumber ,
7+ [switch ] $NetCoreOnlyTests
78)
89
910Write-Host " Run Parameters:" - ForegroundColor Cyan
@@ -29,7 +30,11 @@ if ($RunTests) {
2930 Write-Host " Servers Started." - ForegroundColor " Green"
3031 }
3132 Write-Host " Running tests: Build.csproj traversal (all frameworks)" - ForegroundColor " Magenta"
32- dotnet test " .\Build.csproj" - c Release -- no- build -- logger trx
33+ if ($NetCoreOnlyTests ) {
34+ dotnet test " .\Build.csproj" - c Release -f net8.0 -- no- build -- logger trx
35+ } else {
36+ dotnet test " .\Build.csproj" - c Release -- no- build -- logger trx
37+ }
3338 if ($LastExitCode -ne 0 ) {
3439 Write-Host " Error with tests, aborting build." - Foreground " Red"
3540 Exit 1
You can’t perform that action at this time.
0 commit comments