mirror of
https://github.com/jlengrand/detekt.git
synced 2026-03-10 00:01:19 +00:00
Ignore gradle plugin in codecov (#3740)
* Ignore gradle plugin in codecov * Don't run :detekt-gradle-plugin:test because we ignore those results
This commit is contained in:
@@ -10,3 +10,6 @@ coverage:
|
||||
target: 80%
|
||||
# Only post a patch status to pull requests
|
||||
only_pulls: true
|
||||
|
||||
ignore:
|
||||
- "detekt-gradle-plugin/"
|
||||
|
||||
2
.github/workflows/codecoverage.yaml
vendored
2
.github/workflows/codecoverage.yaml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
java-version: 11
|
||||
|
||||
- name: Generate Coverage Report
|
||||
run: ./gradlew jacocoTestReport --no-build-cache
|
||||
run: ./gradlew jacocoTestReport --no-build-cache -x :detekt-gradle-plugin:test
|
||||
|
||||
- name: Publish Coverage
|
||||
if: success()
|
||||
|
||||
Reference in New Issue
Block a user