Skip to content

Commit

Permalink
Add settings file
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Dec 4, 2024
1 parent 0e3952b commit 8a29896
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
working-directory: ./csharp
run: |
dotnet tool install dotnet-coverage --global
dotnet-coverage collect --server-mode --background --session-id ice-coverage --output coverage.cobertura.xml --output-format cobertura
dotnet-coverage collect --server-mode --background --session-id ice-coverage --output coverage.cobertura.xml --output-format cobertura --settings msbuild/coverage.runsettings
python3 allTests.py --all --workers=4 --filter Ice/ --debug --coverage-session ice-coverage
dotnet-coverage shutdown ice-coverage
Expand Down
13 changes: 13 additions & 0 deletions csharp/msbuild/coverage.runsettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<DataCollectionRunSettings>
<DataCollectors>
<DataCollector friendlyName="XPlat code coverage">
<Configuration>
<!-- Exclude test assemblies -->
<Include>client,server,serveramd,collocated,Plugin,user</Exclude>
</Configuration>
</DataCollector>
</DataCollectors>
</DataCollectionRunSettings>
</RunSettings>

0 comments on commit 8a29896

Please sign in to comment.