Skip to content
This repository was archived by the owner on Oct 13, 2024. It is now read-only.

ci: adjust errors and testing output #333

Merged
merged 1 commit into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ csharp_style_var_elsewhere = true:silent

## SonarAnalyzers.CSharp

# Unreachable code detected
dotnet_diagnostic.cs0162.severity = error

# Remove this commented out code.
dotnet_diagnostic.s125.severity = warning

Expand All @@ -113,6 +116,9 @@ dotnet_diagnostic.S1481.severity = error
# Remove this empty class, write its code or make it an "interface".
dotnet_diagnostic.s2094.severity = error

# Either log this exception and handle it, or rethrow it with some contextual information.
dotnet_diagnostic.s2139.severity = error

# Either implement 'IDisposable.Dispose', or totally rename this method to prevent confusion.
dotnet_diagnostic.s2953.severity = error

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Unit Test
id: test
run: |
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --logger "console;verbosity=detailed"

- name: Upload coverage
# any except canceled or skipped
Expand Down