Skip to content

Commit

Permalink
updating codecov and codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
zambrovski committed Aug 23, 2024
1 parent 1bb71e9 commit c1ea476
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
engines:
duplications:
exclude_paths:
- "**/src/test/kotlin/**"

exclude_paths:
- "README.md"
- ".github/**"
- "docs/**"
- '**/packages.md'
2 changes: 1 addition & 1 deletion .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Upload coverage to Codecov
if: github.event_name == 'push' && github.actor != 'dependabot[bot]'
uses: codecov/codecov-action@v1.0.2
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
OSS_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

- name: Upload coverage information
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down
26 changes: 26 additions & 0 deletions detect.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# see https://github.com/arturbosch/detekt/blob/master/detekt-cli/src/main/resources/default-detekt-config.yml
#
comments:
active: true
excludes: "example/**,**/test/**,**/example/**,**/*Test.kt,*/src/test/kotlin/**/*.kt,**/*Stages.kt,**/*ITest.kt"
CommentOverPrivateFunction:
active: false
CommentOverPrivateProperty:
active: false
EndOfSentenceFormat:
active: false
endOfSentenceFormat: ([.?!][ \t\n\r\f<])|([.?!:]$)
UndocumentedPublicClass:
active: true
searchInNestedClass: true
searchInInnerClass: true
searchInInnerObject: true
searchInInnerInterface: true
UndocumentedPublicFunction:
active: true

performance:
active: true
SpreadOperator:
active: false

0 comments on commit c1ea476

Please sign in to comment.