Skip to content

Commit

Permalink
disabling test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt committed Sep 26, 2023
1 parent 94afbab commit 5652fc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-action-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: ./gradlew test

publish:
needs: [ "build" ]
# needs: [ "build" ]
if: contains(github.ref_name, 'dev/')
permissions:
contents: read
Expand Down
5 changes: 2 additions & 3 deletions src/test/java/io/github/makbn/jthumbnail/ThumbnailerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import org.junit.jupiter.params.provider.CsvSource;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.modulith.core.ApplicationModules;
import org.springframework.modulith.docs.Documenter;

import java.io.File;
import java.io.IOException;
Expand Down Expand Up @@ -40,7 +39,7 @@ public static void init() throws IOException {
}

@AfterAll
public static void destroy(){
public static void destroy() {
jThumbnailer.close();
}

Expand Down Expand Up @@ -70,7 +69,7 @@ public void onThumbnailReady(String hash, File thumbnail) {
try {
Files.copy(thumbnail.toPath(), Path.of("test_results", thumbnail.getName()), StandardCopyOption.REPLACE_EXISTING);
} catch (IOException e) {
fail(String.format("message: %s",e.getMessage()));
fail(String.format("message: %s", e.getMessage()));
}
output[0] = thumbnail;
msg[0] = hash;
Expand Down

0 comments on commit 5652fc0

Please sign in to comment.