From 1ac1cac95adc18d10234bcb9bdbaf3858931d0d9 Mon Sep 17 00:00:00 2001 From: Mark Cilia Vincenti Date: Sun, 18 Aug 2024 18:53:01 +0200 Subject: [PATCH] Fix parallel threads --- .github/workflows/dotnet.yml | 2 +- AsyncKeyedLock.Tests/xunit.runner.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 4956470..a938f9d 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -28,7 +28,7 @@ jobs: run: dotnet build --no-restore --configuration Release - name: Test - run: dotnet test --no-restore --configuration Release --verbosity normal --collect:"XPlat Code Coverage" --settings coverlet.runsettings + run: dotnet test --no-restore --configuration Release --logger:"console;verbosity=normal" --collect:"XPlat Code Coverage" --settings coverlet.runsettings - name: Coverage uses: codecov/codecov-action@v3 diff --git a/AsyncKeyedLock.Tests/xunit.runner.json b/AsyncKeyedLock.Tests/xunit.runner.json index af5eb15..e8f3498 100644 --- a/AsyncKeyedLock.Tests/xunit.runner.json +++ b/AsyncKeyedLock.Tests/xunit.runner.json @@ -5,5 +5,5 @@ "parallelizeTestCollections": true, "stopOnFail": true, "showLiveOutput": true, - "maxParallelThreads": -1 + "maxParallelThreads": "0.25x" }