diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index dcc5c24..9f573aa 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,6 +35,7 @@ jobs: run: ./gradlew check --no-daemon - name: Build coverage report + if: github.event_name != 'pull_request' run: ./gradlew jacocoTestReport --no-daemon - uses: codecov/codecov-action@v4 @@ -47,10 +48,12 @@ jobs: # publish snapshot after successful tests publish: + if: github.event_name != 'pull_request' needs: build uses: ./.github/workflows/publish-snapshot.yml # run examples with published snapshot examples: + if: github.event_name != 'pull_request' needs: publish uses: ./.github/workflows/examples-CI.yml \ No newline at end of file diff --git a/src/test/groovy/ru/vyarus/gradle/plugin/animalsniffer/debug/custom/MultiplatformAndroidNoClasspathDebugKitTest.groovy b/src/test/groovy/ru/vyarus/gradle/plugin/animalsniffer/debug/custom/MultiplatformAndroidNoClasspathDebugKitTest.groovy index 87aa9a8..0f0ec65 100644 --- a/src/test/groovy/ru/vyarus/gradle/plugin/animalsniffer/debug/custom/MultiplatformAndroidNoClasspathDebugKitTest.groovy +++ b/src/test/groovy/ru/vyarus/gradle/plugin/animalsniffer/debug/custom/MultiplatformAndroidNoClasspathDebugKitTest.groovy @@ -3,11 +3,13 @@ package ru.vyarus.gradle.plugin.animalsniffer.debug.custom import org.gradle.testkit.runner.BuildResult import org.gradle.testkit.runner.TaskOutcome import ru.vyarus.gradle.plugin.animalsniffer.debug.AbstractDebugKitTest +import spock.lang.IgnoreIf /** * @author Vyacheslav Rusakov * @since 06.12.2024 */ +@IgnoreIf({ !jvm.java17Compatible }) class MultiplatformAndroidNoClasspathDebugKitTest extends AbstractDebugKitTest { def "Check multiple declared platforms debug (with android)"() {