Skip to content

Commit 8d8fd5f

Browse files
committed
remove coverage generation
1 parent dea705a commit 8d8fd5f

File tree

2 files changed

+1
-36
lines changed

2 files changed

+1
-36
lines changed

.github/workflows/unit-test.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,6 @@ jobs:
4747
shell: bash
4848
run: ./gradlew test
4949

50-
- name: Upload coverage report
51-
uses: actions/upload-artifact@v6
52-
if: runner.os == 'Linux'
53-
with:
54-
name: coverage_report
55-
path: .qodana/code-coverage/report.xml
56-
retention-days: 1
57-
if-no-files-found: error
58-
5950
qodana:
6051
name: Perform Qodana analysis
6152
needs: tests
@@ -70,18 +61,12 @@ jobs:
7061
ref: ${{ github.event.pull_request.head.sha || github.sha }}
7162
fetch-depth: 0
7263

73-
- name: Download coverage report
74-
uses: actions/download-artifact@v7
75-
with:
76-
name: coverage_report
77-
path: .qodana/code-coverage
78-
7964
- name: Execute analysis
8065
uses: JetBrains/qodana-action@v2025.3
8166
env:
8267
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
8368
with:
84-
args: '--baseline,qodana.baseline.json'
69+
args: --baseline,qodana.baseline.json
8570
use-caches: false
8671
post-pr-comment: false
8772
pr-mode: false

build.gradle

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import com.github.stickerifier.stickerify.JlinkTask
33

44
plugins {
55
id('java')
6-
id('jacoco')
76
id('application')
87
alias(libs.plugins.spring.nullability)
98
}
@@ -68,31 +67,12 @@ test {
6867
javaLauncher = providers.provider { new JlinkJavaLauncher(jlink.get()) }
6968

7069
useJUnitPlatform()
71-
finalizedBy(jacocoTestReport)
7270

7371
testLogging {
7472
events('passed', 'failed', 'skipped')
7573
}
7674
}
7775

78-
jacocoTestReport {
79-
reports {
80-
html.required = false
81-
xml.required = true
82-
xml.outputLocation = file('.qodana/code-coverage/report.xml')
83-
}
84-
85-
afterEvaluate {
86-
classDirectories = files(classDirectories.files.collect {
87-
fileTree(dir: it, exclude: ['**/MediaConstraints.class',
88-
'**/stickerify/exception/**',
89-
'**/stickerify/process/**',
90-
'**/stickerify/runner/**',
91-
'**/stickerify/telegram/**'])
92-
})
93-
}
94-
}
95-
9676
def generateCohArchive = tasks.register('generateCohArchive', Exec) {
9777
inputs.dir(jlink.map { it.outputDirectory.get().asFile })
9878

0 commit comments

Comments
 (0)