From 4db61317cc055953ca69b90bac1769b155555227 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Sun, 28 Apr 2024 17:39:18 -0400 Subject: [PATCH] Run tests in workflow --- .gitea/workflows/maven-publish.yml | 4 ++++ .../java/me/braydon/pelican/test/PelicanActionTests.java | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/maven-publish.yml b/.gitea/workflows/maven-publish.yml index 20a4652..26dbc33 100644 --- a/.gitea/workflows/maven-publish.yml +++ b/.gitea/workflows/maven-publish.yml @@ -40,6 +40,10 @@ jobs: } ] + # Run Maven tests + - name: Maven Tests + run: mvn clean package -q -T6C + # Publish to Maven - name: Publish to Maven run: mvn deploy -Pgen-javadocs -B -Dstyle.color=always --update-snapshots -q -T6C \ No newline at end of file diff --git a/src/test/java/me/braydon/pelican/test/PelicanActionTests.java b/src/test/java/me/braydon/pelican/test/PelicanActionTests.java index ec52379..d572f38 100644 --- a/src/test/java/me/braydon/pelican/test/PelicanActionTests.java +++ b/src/test/java/me/braydon/pelican/test/PelicanActionTests.java @@ -28,7 +28,6 @@ import me.braydon.pelican.action.pelican.PelicanPanelActions; import me.braydon.pelican.action.pterodactyl.application.ApplicationNodeActions; import me.braydon.pelican.client.ClientConfig; import me.braydon.pelican.client.Pelican4J; -import me.braydon.pelican.model.Node; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; @@ -74,10 +73,6 @@ public final class PelicanActionTests { System.out.println("node = " + node); }); - // Get the details for Node 1 in a blocking manner - Node node = nodeActions.getDetails(1).execute(); - System.out.println("node = " + node); - Thread.sleep(60000L); } }