From f71d2204f5d8d3e5db4b0a86afd3baac64aedb87 Mon Sep 17 00:00:00 2001 From: Isak W Date: Sun, 29 Dec 2024 00:51:32 +0100 Subject: [PATCH] Disable integration tests --- .github/workflows/ci.yml | 2 -- .../yamllint/intention/DisablePluginIntentionIntegrationTest.kt | 1 + .../yamllint/intention/DisableRuleIntentionIntegrationTest.kt | 1 + .../yamllint/intention/SuppressLineIntentionIntegrationTest.kt | 1 + .../yamllint/runner/YamllintExternalAnnotatorIntegrationTest.kt | 1 + .../startup/YamllintPathExecutableProviderIntegration.kt | 1 + 6 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 335cda9..eb66ec7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,8 +36,6 @@ jobs: distribution: temurin - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 - - name: Install dependencies - run: sudo pip install --prefix /usr/local yamllint - name: Test with Gradle run: ./gradlew koverXmlReport --info - name: Upload coverage to Codecov diff --git a/src/test/kotlin/io/aesy/yamllint/intention/DisablePluginIntentionIntegrationTest.kt b/src/test/kotlin/io/aesy/yamllint/intention/DisablePluginIntentionIntegrationTest.kt index 2128d41..3ed68bb 100644 --- a/src/test/kotlin/io/aesy/yamllint/intention/DisablePluginIntentionIntegrationTest.kt +++ b/src/test/kotlin/io/aesy/yamllint/intention/DisablePluginIntentionIntegrationTest.kt @@ -15,6 +15,7 @@ import org.junit.jupiter.api.extension.ExtendWith import strikt.api.expectThat import strikt.assertions.isFalse +@Disabled("This test requires Yamllint to be accessible on the host to pass") @ExtendWith(IntelliJExtension::class) class DisablePluginIntentionIntegrationTest { @IntelliJ diff --git a/src/test/kotlin/io/aesy/yamllint/intention/DisableRuleIntentionIntegrationTest.kt b/src/test/kotlin/io/aesy/yamllint/intention/DisableRuleIntentionIntegrationTest.kt index a8895c2..e929d7d 100644 --- a/src/test/kotlin/io/aesy/yamllint/intention/DisableRuleIntentionIntegrationTest.kt +++ b/src/test/kotlin/io/aesy/yamllint/intention/DisableRuleIntentionIntegrationTest.kt @@ -15,6 +15,7 @@ import org.junit.jupiter.api.extension.ExtendWith import strikt.api.expectThat import strikt.assertions.containsExactly +@Disabled("This test requires Yamllint to be accessible on the host to pass") @ExtendWith(IntelliJExtension::class) class DisableRuleIntentionIntegrationTest { @IntelliJ diff --git a/src/test/kotlin/io/aesy/yamllint/intention/SuppressLineIntentionIntegrationTest.kt b/src/test/kotlin/io/aesy/yamllint/intention/SuppressLineIntentionIntegrationTest.kt index df2e8af..e0a23df 100644 --- a/src/test/kotlin/io/aesy/yamllint/intention/SuppressLineIntentionIntegrationTest.kt +++ b/src/test/kotlin/io/aesy/yamllint/intention/SuppressLineIntentionIntegrationTest.kt @@ -13,6 +13,7 @@ import io.aesy.yamllint.startup.YamllintExecutableProvider import org.junit.jupiter.api.* import org.junit.jupiter.api.extension.ExtendWith +@Disabled("This test requires Yamllint to be accessible on the host to pass") @ExtendWith(IntelliJExtension::class) class SuppressLineIntentionIntegrationTest { @IntelliJ diff --git a/src/test/kotlin/io/aesy/yamllint/runner/YamllintExternalAnnotatorIntegrationTest.kt b/src/test/kotlin/io/aesy/yamllint/runner/YamllintExternalAnnotatorIntegrationTest.kt index 45b73e8..c5aec3f 100644 --- a/src/test/kotlin/io/aesy/yamllint/runner/YamllintExternalAnnotatorIntegrationTest.kt +++ b/src/test/kotlin/io/aesy/yamllint/runner/YamllintExternalAnnotatorIntegrationTest.kt @@ -16,6 +16,7 @@ import strikt.api.expectThat import strikt.assertions.isEmpty import strikt.assertions.isNotEmpty +@Disabled("This test requires Yamllint to be accessible on the host to pass") @ExtendWith(IntelliJExtension::class) class YamllintExternalAnnotatorIntegrationTest { @IntelliJ diff --git a/src/test/kotlin/io/aesy/yamllint/startup/YamllintPathExecutableProviderIntegration.kt b/src/test/kotlin/io/aesy/yamllint/startup/YamllintPathExecutableProviderIntegration.kt index 766207c..d9d264f 100644 --- a/src/test/kotlin/io/aesy/yamllint/startup/YamllintPathExecutableProviderIntegration.kt +++ b/src/test/kotlin/io/aesy/yamllint/startup/YamllintPathExecutableProviderIntegration.kt @@ -9,6 +9,7 @@ import org.junit.jupiter.api.extension.ExtendWith import strikt.api.expectThat import strikt.assertions.isNotNull +@Disabled("This test requires Yamllint to be accessible on the host to pass") @ExtendWith(IntelliJExtension::class) class YamllintPathExecutableProviderIntegration { @IntelliJ