Simplify workflow
This commit is contained in:
9
.github/workflows/test-parsers.yml
vendored
9
.github/workflows/test-parsers.yml
vendored
@@ -4,7 +4,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'src/main/kotlin/org/koitharu/kotatsu/parsers/site/**'
|
- 'src/main/kotlin/org/koitharu/kotatsu/parsers/**'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -19,9 +19,4 @@ jobs:
|
|||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: 'gradle'
|
cache: 'gradle'
|
||||||
- run: ./gradlew :test --tests "org.koitharu.kotatsu.parsers.MangaParserTest" || true
|
- run: ./gradlew assemble
|
||||||
- run: ./gradlew generateTestsReport
|
|
||||||
- uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: Report
|
|
||||||
path: build/test-results-html/TEST-org.koitharu.kotatsu.parsers.MangaParserTest.htm
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import tasks.ReportGenerateTask
|
|||||||
plugins {
|
plugins {
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
id 'org.jetbrains.kotlin.jvm' version '1.9.22'
|
id 'org.jetbrains.kotlin.jvm' version '1.9.22'
|
||||||
id 'com.google.devtools.ksp' version '1.9.22-1.0.16'
|
id 'com.google.devtools.ksp' version '1.9.22-1.0.17'
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,15 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'org.jetbrains.kotlin.jvm' version '1.9.20'
|
id 'org.jetbrains.kotlin.jvm' version '1.9.22'
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
jvmToolchain(8)
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation gradleApi()
|
implementation gradleApi()
|
||||||
implementation 'org.simpleframework:simple-xml:2.7.1'
|
implementation 'org.simpleframework:simple-xml:2.7.1'
|
||||||
|
|||||||
@@ -2,6 +2,10 @@ plugins {
|
|||||||
id 'org.jetbrains.kotlin.jvm'
|
id 'org.jetbrains.kotlin.jvm'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
jvmToolchain(8)
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.google.devtools.ksp:symbol-processing-api:1.9.22-1.0.16'
|
implementation 'com.google.devtools.ksp:symbol-processing-api:1.9.22-1.0.17'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user