Skip to content

Commit 1133204

Browse files
committed
chore: fix run-tests-selected workflow
1 parent 9af1831 commit 1133204

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/run-tests-selected.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ on:
3434
- net472
3535
filter:
3636
type: string
37-
description: Test filter text (It's used for `dotnet test --filter`) Use default value when running all tests
37+
description: Test filter text (It's used for `dotnet test --filter-method`) Use default value when running all tests
3838
required: true
3939
default: "BenchmarkDotNet"
4040
iteration_count:
@@ -91,12 +91,13 @@ jobs:
9191
run: |
9292
$PSNativeCommandUseErrorActionPreference = $true
9393
$iterationCount = ${{ inputs.iteration_count }}
94+
95+
Write-Host ("OSArchitecture" + [System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)
9496
9597
foreach($i in 1..$iterationCount) {
9698
Write-Output ('##[group]Executing Iteration: {0}/${{ inputs.iteration_count }}' -f $i)
9799
98-
dotnet test -c Release --framework ${{ inputs.framework }} --filter ${{ inputs.filter }} -tl:off --no-build --logger "console;verbosity=normal"
99-
100+
dotnet test -c Release --framework ${{ inputs.framework }} --no-build --filter-method "${{ inputs.filter }}" --no-ansi
100101
Write-Output '##[endgroup]'
101102
}
102103

0 commit comments

Comments
 (0)