Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ LICENSE
.editorconfig
Dockerfile
*.dockerfile
qodana.baseline.json
Bumpfile
qodana.yaml
16 changes: 0 additions & 16 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,6 @@ jobs:
shell: bash
run: ./gradlew test

- name: Upload coverage report
uses: actions/upload-artifact@v6
if: runner.os == 'Linux'
with:
name: coverage_report
path: .qodana/code-coverage/report.xml
retention-days: 1
if-no-files-found: error

qodana:
name: Perform Qodana analysis
needs: tests
Expand All @@ -70,18 +61,11 @@ jobs:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth: 0

- name: Download coverage report
uses: actions/download-artifact@v7
with:
name: coverage_report
path: .qodana/code-coverage

- name: Execute analysis
uses: JetBrains/qodana-action@v2025.3
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
with:
args: '--baseline,qodana.baseline.json'
use-caches: false
post-pr-comment: false
pr-mode: false
Expand Down
20 changes: 0 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import com.github.stickerifier.stickerify.JlinkTask

plugins {
id('java')
id('jacoco')
id('application')
alias(libs.plugins.spring.nullability)
}
Expand Down Expand Up @@ -68,31 +67,12 @@ test {
javaLauncher = providers.provider { new JlinkJavaLauncher(jlink.get()) }

useJUnitPlatform()
finalizedBy(jacocoTestReport)

testLogging {
events('passed', 'failed', 'skipped')
}
}

jacocoTestReport {
reports {
html.required = false
xml.required = true
xml.outputLocation = file('.qodana/code-coverage/report.xml')
}

afterEvaluate {
classDirectories = files(classDirectories.files.collect {
fileTree(dir: it, exclude: ['**/MediaConstraints.class',
'**/stickerify/exception/**',
'**/stickerify/process/**',
'**/stickerify/runner/**',
'**/stickerify/telegram/**'])
})
}
}

def generateCohArchive = tasks.register('generateCohArchive', Exec) {
inputs.dir(jlink.map { it.outputDirectory.get().asFile })

Expand Down
Loading
Loading