Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- '**'
tags:
- '!**'
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -39,6 +40,12 @@ jobs:
- name: Build with Gradle
run: gradle clean build -PjavacRelease=${{ matrix.java }}

- name: Publish Test Report
uses: mikepenz/action-junit-report@v6
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/test-results/test/TEST-*.xml'

- name: SHA256
if: matrix.upload
run: shasum -a 256 build/libs/*.jar
Expand All @@ -52,7 +59,7 @@ jobs:

- name: create pre-release
id: create-pre-release
if: matrix.upload
if: matrix.upload && github.ref == 'refs/heads/main'
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,23 @@ public void testGetNextPage_HasNextPage() throws IOException, URISyntaxException
}

@Test
@Tag("flaky") // Seems to be failing in macOS CI
public void testRipPost() throws IOException, URISyntaxException {
URL url = new URI("https://fapwiz.com/petiteasiantravels/riding-at-9-months-pregnant/").toURL();
FapwizRipper ripper = new FapwizRipper(url);
testRipper(ripper);
}

@Test
@Tag("flaky") // Seems to be failing in macOS CI
public void testRipPostWithNumbersInUsername1() throws IOException, URISyntaxException {
URL url = new URI("https://fapwiz.com/desperate_bug_7776/lets-be-friends-that-secretly-fuck-thanks/").toURL();
FapwizRipper ripper = new FapwizRipper(url);
testRipper(ripper);
}

@Test
@Tag("flaky") // Seems to be failing in macOS CI
public void testRipPostWithEmojiInShortUrl() throws IOException, URISyntaxException {
URL url = new URI("https://fapwiz.com/miaipanema/my-grip-needs-a-name-%f0%9f%a4%ad%f0%9f%91%87%f0%9f%8f%bc/")
.toURL();
Expand All @@ -82,6 +85,7 @@ public void testRipPostWithEmojiInLongUrlAtEnd() throws IOException, URISyntaxEx
}

@Test
@Tag("flaky") // Seems to be failing in macOS CI
public void testRipPostWithEmojiInLongUrlInTheMiddle() throws IOException, URISyntaxException {
URL url = new URI(
"https://fapwiz.com/miaipanema/new-pov-couch-sex-with-perfect-cumshot-on-my-ass-%f0%9f%92%a6-you-know-where-to-get-it-%f0%9f%94%97%f0%9f%92%96/")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class FreeComicOnlineRipperTest extends RippersTest {
@Test
public void testFreeComicOnlineChapterAlbum() throws IOException, URISyntaxException {
FreeComicOnlineRipper ripper = new FreeComicOnlineRipper(
new URI("https://freecomiconline.me/comic/perfect-half-hentai0003/chapter-01/").toURL());
new URI("https://freecomiconline.me/comic/dungeon-architect/chapter-01/").toURL());
testRipper(ripper);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
import java.net.URI;
import java.net.URISyntaxException;

import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;

import com.rarchives.ripme.ripper.rippers.HentaiimageRipper;

public class HentaiimageRipperTest extends RippersTest {
@Test
@Tag("flaky") // Seems to be failing in macOS CI
public void testHentaifoundryRip() throws IOException, URISyntaxException {
HentaiimageRipper ripper = new HentaiimageRipper(
new URI("https://hentai-img-xxx.com/image/afrobull-gerudo-ongoing-12/").toURL());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void testRedgifsSearch() throws IOException, URISyntaxException {
*/
@Test
public void testRedgifsTags() throws IOException, URISyntaxException {
RedgifsRipper ripper = new RedgifsRipper(new URI("https://www.redgifs.com/gifs/animation,sfw,funny?order=best&tab=gifs").toURL());
RedgifsRipper ripper = new RedgifsRipper(new URI("https://www.redgifs.com/gifs/animation,sfw,funny?order=latest&tab=gifs").toURL());
testRipper(ripper);
}

Expand Down
Loading