You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
707 B
YAML
27 lines
707 B
YAML
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" || true
|
|
- run: ./gradlew generateTestsReport
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: Report
|
|
path: build/test-results-html/TEST-org.koitharu.kotatsu.parsers.MangaParserTest.htm |