File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666 run : >-
6767 dotnet test tests/StackExchange.Redis.Tests/StackExchange.Redis.Tests.csproj
6868 -c Release
69+ -f net10.0
6970 --logger trx
7071 --logger "GitHubActions;summary-include-passed=false;summary-include-skipped=false"
7172 --results-directory ./test-results/
Original file line number Diff line number Diff line change @@ -119,7 +119,15 @@ jobs:
119119 - name : .NET Build
120120 run : dotnet build Build.csproj -c Release /p:CI=true
121121 - name : StackExchange.Redis.Tests
122- run : dotnet test tests/StackExchange.Redis.Tests/StackExchange.Redis.Tests.csproj -c Release --logger trx --logger GitHubActions --results-directory ./test-results/ /p:CI=true
122+ run : |
123+ $exitCode = 0
124+ foreach ($tfm in @("net10.0", "net481")) {
125+ dotnet test tests/StackExchange.Redis.Tests/StackExchange.Redis.Tests.csproj -c Release -f $tfm --logger trx --logger GitHubActions --results-directory ./test-results/ /p:CI=true
126+ if ($LASTEXITCODE -ne 0) {
127+ $exitCode = $LASTEXITCODE
128+ }
129+ }
130+ exit $exitCode
123131 - uses : dorny/test-reporter@v3
124132 continue-on-error : true
125133 if : success() || failure()
You can’t perform that action at this time.
0 commit comments