From e890c477318baf4b4be7ded4d909d618d48987b4 Mon Sep 17 00:00:00 2001 From: sinkaroid Date: Mon, 5 Dec 2022 09:37:15 +0700 Subject: [PATCH] ci: bunch of testing cases --- .github/workflows/jigoku_pages_older.yml | 25 ++++++++++++++++++++++++ test/example_pages_but_older.txt | 15 ++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .github/workflows/jigoku_pages_older.yml create mode 100644 test/example_pages_but_older.txt diff --git a/.github/workflows/jigoku_pages_older.yml b/.github/workflows/jigoku_pages_older.yml new file mode 100644 index 0000000..48f3afd --- /dev/null +++ b/.github/workflows/jigoku_pages_older.yml @@ -0,0 +1,25 @@ +name: bulk multiple older pages +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Python 3 + uses: actions/setup-python@v4 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python setup.py install + - name: Jigoku test + run: | + printf "test/example_pages_but_older\n2\n2\n" | jigoku diff --git a/test/example_pages_but_older.txt b/test/example_pages_but_older.txt new file mode 100644 index 0000000..881fdb4 --- /dev/null +++ b/test/example_pages_but_older.txt @@ -0,0 +1,15 @@ +https://safebooru.org/index.php?page=post&s=list&tags=jeanne_alter+&pid=1160 +https://gelbooru.com/index.php?page=post&s=list&tags=unohana_retsu+&pid=378 +https://danbooru.donmai.us/posts?page=50&tags=jeanne_d%27arc_alter_%28fate%29+ +https://rule34.xxx/index.php?page=post&s=list&tags=unohana_retsu+&pid=798 +https://tbib.org/index.php?page=post&s=list&tags=jeanne_d%27arc_%28fate%29_%28all%29+&pid=1008 +https://xbooru.com/index.php?page=post&s=list&tags=erza_scarlet+&pid=588 +https://realbooru.com/index.php?page=post&s=list&tags=milf&pid=1218 +https://yande.re/post?page=7&tags=matoi_ryuuko +https://lolibooru.moe/post?tags=leonardo_da_vinci_%28fate%2Fgrand_order%29&page=15 +https://konachan.com/post?page=8&tags=matoi_ryuuko +https://konachan.net/post?page=4&tags=kiryuin_satsuki +https://hypnohub.net/index.php?page=post&s=list&tags=milf+&pid=588 +https://e621.net/posts?page=50&tags=bestiality+ +https://booru.allthefallen.moe/posts?page=50&tags=pregnant+ +https://rule34.paheal.net/post/list/Erza_Scarlet/15 \ No newline at end of file