File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,6 @@ $libraryProjects = @(
19
19
(Join-Path $solutionPath " src" " Logging.XUnit.v3" " MartinCostello.Logging.XUnit.v3.csproj" )
20
20
)
21
21
22
- $testProjects = @ (
23
- (Join-Path $solutionPath " tests" " Logging.XUnit.Tests" " MartinCostello.Logging.XUnit.Tests.csproj" )
24
- (Join-Path $solutionPath " tests" " Logging.XUnit.v3.Tests" " MartinCostello.Logging.XUnit.v3.Tests.csproj" )
25
- )
26
-
27
22
$dotnetVersion = (Get-Content $sdkFile | Out-String | ConvertFrom-Json ).sdk.version
28
23
29
24
$installDotNetSdk = $false ;
@@ -90,7 +85,7 @@ function DotNetPack {
90
85
}
91
86
92
87
function DotNetTest {
93
- param ([ string ] $Project )
88
+ param ()
94
89
95
90
$additionalArgs = @ ()
96
91
@@ -99,7 +94,7 @@ function DotNetTest {
99
94
$additionalArgs += " GitHubActions;report-warnings=false"
100
95
}
101
96
102
- & $dotnet test $Project -- configuration " Release" $additionalArgs
97
+ & $dotnet test -- configuration " Release" $additionalArgs
103
98
104
99
if ($LASTEXITCODE -ne 0 ) {
105
100
throw " dotnet test failed with exit code $LASTEXITCODE "
@@ -113,7 +108,5 @@ ForEach ($libraryProject in $libraryProjects) {
113
108
114
109
if (-Not $SkipTests ) {
115
110
Write-Information " Running tests..."
116
- ForEach ($testProject in $testProjects ) {
117
- DotNetTest $testProject
118
- }
111
+ DotNetTest
119
112
}
You can’t perform that action at this time.
0 commit comments