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

Commit

Permalink
ci: adjust errors and testing output (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored May 18, 2024
1 parent e3d6455 commit 9d2e3e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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

0 comments on commit 9d2e3e1

Please sign in to comment.