Skip to content

Commit 7212b79

Browse files
Fix CA1852 violations (net-daemon#808)
1 parent 1cf015d commit 7212b79

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci_build.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
dotnet test -v minimal '/p:CollectCoverage=true;CoverletOutputFormat=json;MergeWith=${{github.workspace}}/codecover.json;CoverletOutput=${{github.workspace}}/codecover' src/HassModel/NetDaemon.HassModel.Tests
3434
dotnet test -v minimal '/p:CollectCoverage=true;CoverletOutputFormat=json;MergeWith=${{github.workspace}}/codecover.json;CoverletOutput=${{github.workspace}}/codecover' src/Extensions/NetDaemon.Extensions.Scheduling.Tests
3535
dotnet test -v minimal '/p:CollectCoverage=true;CoverletOutputFormat=json;MergeWith=${{github.workspace}}/codecover.json;CoverletOutput=${{github.workspace}}/codecover' src/Client/NetDaemon.HassClient.Tests
36-
dotnet test -v minimal '/p:CollectCoverage=true;CoverletOutputFormat=lcov;MergeWith=${{github.workspace}}/codecover.json;CoverletOutput=${{github.workspace}}/codecover' src/AppModel/NetDaemon.AppModel.Tests
36+
dotnet test -v minimal '/p:CollectCoverage=true;CoverletOutputFormat=json;MergeWith=${{github.workspace}}/codecover.json;CoverletOutput=${{github.workspace}}/codecover' src/AppModel/NetDaemon.AppModel.Tests
37+
dotnet test -v minimal '/p:CollectCoverage=true;CoverletOutputFormat=lcov;MergeWith=${{github.workspace}}/codecover.json;CoverletOutput=${{github.workspace}}/codecover' src/Runtime/NetDaemon.Runtime.Tests
3738
3839
- name: 📨 Publish coverage report to coveralls.io
3940
uses: coverallsapp/github-action@master

.linting/roslynator.ruleset

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Just add ruleset file to a solution and open it.
3737
<!-- Logging rule to optimize later -->
3838
<Rule Id="CA1848" Action="None" />
3939
<Rule Id="CA2254" Action="None" />
40+
<Rule Id="CA1852" Action="None" />
4041
</Rules>
4142

4243
</RuleSet>

0 commit comments

Comments
 (0)