Skip to content

Commit

Permalink
Try dotnet test
Browse files Browse the repository at this point in the history
  • Loading branch information
chtenb committed Aug 27, 2024
1 parent c352a5d commit 3b297a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b297a5

Please sign in to comment.