From 3b297a5b5a9418a855bfb7b0ba910ab4060ec2ab Mon Sep 17 00:00:00 2001 From: chtenb Date: Tue, 27 Aug 2024 11:58:54 +0200 Subject: [PATCH] Try dotnet test --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c305657..5c6c17a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,12 +53,12 @@ jobs: - name: Check if code is formatted run: dotnet format whitespace --verify-no-changes -v diag Rubjerg.Graphviz.NugetTests.sln + - name: Run Unittests Without Coverage (.NET 8) + run: dotnet test -p:Platform=x64 --no-build -c Release -f net8.0 -v d --filter "Category != Flaky & Category != Slow" Rubjerg.Graphviz.Test\Rubjerg.Graphviz.Test.csproj + - name: Run Unittests With Coverage Calculation (.NET 4.8) run: packages\opencover\4.7.1221\tools\OpenCover.Console.exe -skipautoprops -returntargetcode -register '-target:bash.exe' -targetargs:'nunit-console.sh Rubjerg.Graphviz.Test\bin\x64\Release\net48\Rubjerg.Graphviz.Test.dll' '-filter:+[Rubjerg*]* -[Rubjerg.Graphviz.Test*]*' - - name: Run Unittests Without Coverage (.NET 8) - run: bash nunit-console-netcore.sh Rubjerg.Graphviz.Test\bin\x64\Release\net8.0\Rubjerg.Graphviz.Test.dll - - name: Upload Coverage data run: | echo "C:\msys64\usr\bin" >> $GITHUB_PATH