We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92b49fc commit 3969e43Copy full SHA for 3969e43
Build.ps1
@@ -46,15 +46,17 @@ try {
46
Pop-Location
47
}
48
49
- foreach ($test in Get-ChildItem test/*.Tests) {
50
- Push-Location $test
+ if(Test-Path .\test) {
+ foreach ($test in Get-ChildItem test/*.Tests) {
51
+ Push-Location $test
52
- Write-Output "build: Testing project in $test"
53
+ Write-Output "build: Testing project in $test"
54
- & dotnet test -c Release --no-build --no-restore
55
- if($LASTEXITCODE -ne 0) { throw "Testing failed" }
+ & dotnet test -c Release --no-build --no-restore
56
+ if($LASTEXITCODE -ne 0) { throw "Testing failed" }
57
- Pop-Location
58
+ Pop-Location
59
+ }
60
61
62
if ($env:NUGET_API_KEY) {
0 commit comments