Merge pull request #22 from KotatsuApp/feature/ci

Add ci job to run parsers test
This commit is contained in:
2022-06-24 11:03:34 +03:00

26
.github/workflows/test-parsers.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Parsers test
on:
workflow_dispatch:
pull_request:
paths:
- 'src/main/kotlin/org/koitharu/kotatsu/parsers/site/*'
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'gradle'
- run: ./gradlew :test --tests "org.koitharu.kotatsu.parsers.MangaParserTest"
- uses: actions/upload-artifact@v3
with:
name: Report
path: build/reports/tests/test