Skip to content

Commit 0ebda97

Browse files
committed
Tweak code-scan Code Climate job
Small changes to the Code Climate task and setup for the repo
1 parent d191a4a commit 0ebda97

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.codeclimate.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,18 @@ checks:
3232
enabled: true
3333
config:
3434
threshold: 4
35+
similar-code:
36+
enabled: true
37+
identical-code:
38+
enabled: true
3539

3640
exclude_patterns:
37-
- "src/test/"
38-
- "src/main/resources/"
41+
- "test/"
42+
- "tests/"
43+
- "**/test/"
44+
- "**/tests/"
45+
- "**/*Test.java"
46+
- "build/"
47+
- "target/"
3948
- "docs/"
49+
- "*.md"

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
chmod +x ./cc-test-reporter
8888
./cc-test-reporter before-build
8989
90-
- name: Upload coverage to Code Climate
90+
- name: Run Code Climate Analysis
9191
env:
9292
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
9393
run: |

0 commit comments

Comments
 (0)