From 3f6068a96e356d152a2e6a94c89b85faa87a317f Mon Sep 17 00:00:00 2001 From: "Florian (Feuermagier)" Date: Thu, 11 Jul 2024 17:18:10 +0200 Subject: [PATCH] try ci fix --- .github/workflows/build.yml | 2 +- .../de/firemage/autograder/api/loader/AutograderLoaderTest.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e3cf1cc1..83d4513c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: cache: 'maven' - name: Build with Maven - run: mvn -B clean package --file pom.xml + run: mvn -B clean package -DskipTests --file pom.xml && mvn -B test --file pom.xml - uses: actions/upload-artifact@v4 with: diff --git a/autograder-api/src/test/java/de/firemage/autograder/api/loader/AutograderLoaderTest.java b/autograder-api/src/test/java/de/firemage/autograder/api/loader/AutograderLoaderTest.java index c0ae47ff..21d45b80 100644 --- a/autograder-api/src/test/java/de/firemage/autograder/api/loader/AutograderLoaderTest.java +++ b/autograder-api/src/test/java/de/firemage/autograder/api/loader/AutograderLoaderTest.java @@ -2,6 +2,7 @@ import de.firemage.autograder.api.Linter; import de.firemage.autograder.api.TempLocation; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import java.io.IOException; @@ -10,6 +11,7 @@ import static org.junit.jupiter.api.Assertions.*; +// @Disabled("This test is disabled because it requires the autograder-full.jar to be present in the target directory, which is not the case in the CI pipeline.") class AutograderLoaderTest { @Test void testLoadFromFile() throws IOException {