From ab35f087ff64dcc62f242334200355b74476f617 Mon Sep 17 00:00:00 2001 From: Koitharu Date: Fri, 24 Jun 2022 11:04:00 +0300 Subject: [PATCH] Add ci job to run parsers test --- .github/workflows/test-parsers.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/test-parsers.yml diff --git a/.github/workflows/test-parsers.yml b/.github/workflows/test-parsers.yml new file mode 100644 index 00000000..71406907 --- /dev/null +++ b/.github/workflows/test-parsers.yml @@ -0,0 +1,28 @@ +name: Parsers test + +on: + pull_request: + branches: [ "master" ] + paths: + - 'src/main/kotlin/org/koitharu/kotatsu/parsers/site' + +permissions: + contents: read + +jobs: + build: + + 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 \ No newline at end of file