saveourtool / diktat

Strict coding standard for Kotlin and a custom set of rules for detecting code smells, code style issues and bugs
https://diktat.saveourtool.com
MIT License
516 stars 39 forks source link

Return exit code 1 when not all errors are fixed #1868

Closed nulls closed 6 months ago

nulls commented 7 months ago

What's done:

github-actions[bot] commented 7 months ago

JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2)

   166 files  ±0     166 suites  ±0   6m 32s :stopwatch: + 1m 33s 1 426 tests ±0  1 382 :heavy_check_mark:  - 6  38 :zzz: ±0  6 :x: +6  2 805 runs  ±0  2 761 :heavy_check_mark:  - 6  38 :zzz: ±0  6 :x: +6 

For more details on these failures, see this check.

Results for commit 45acaca5. ± Comparison against base commit 8b44e13e.

github-actions[bot] commented 7 months ago

JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

   166 files  ±0     166 suites  ±0   7m 21s :stopwatch: -10s 1 426 tests ±0  1 403 :heavy_check_mark:  - 6  17 :zzz: ±0  6 :x: +6  2 805 runs  ±0  2 782 :heavy_check_mark:  - 6  17 :zzz: ±0  6 :x: +6 

For more details on these failures, see this check.

Results for commit 45acaca5. ± Comparison against base commit 8b44e13e.

codecov[bot] commented 6 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (3ba0fb0) 78.42% compared to head (348c702) 78.40%.

Files Patch % Lines
...c/main/kotlin/com/saveourtool/diktat/DiktatMain.kt 0.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1868 +/- ## ============================================ - Coverage 78.42% 78.40% -0.02% Complexity 2465 2465 ============================================ Files 134 134 Lines 8695 8697 +2 Branches 2199 2200 +1 ============================================ Hits 6819 6819 - Misses 897 899 +2 Partials 979 979 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.