Skip to content

Commit

Permalink
Disable 'UnsupportedGradleTest' on Windows OS.
Browse files Browse the repository at this point in the history
It is constantly failing on Github Windows Agent, while working locally on another windows installation. It is ok just to check it on Linux OS.
  • Loading branch information
Tapchicoma committed May 31, 2021
1 parent d206cf0 commit aa03c10
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import org.assertj.core.api.Assertions.assertThat
import org.gradle.testkit.runner.GradleRunner
import org.junit.jupiter.api.Test
import java.io.File
import org.junit.jupiter.api.condition.DisabledOnOs
import org.junit.jupiter.api.condition.OS

class UnsupportedGradleTest : AbstractPluginTest() {
override fun gradleRunnerFor(
Expand All @@ -14,6 +16,7 @@ class UnsupportedGradleTest : AbstractPluginTest() {
.withGradleVersion("5.6.4")

@Test
@DisabledOnOs(OS.WINDOWS)
internal fun `Should raise exception on applying plugin`() {
projectRoot.defaultProjectSetup()

Expand Down

0 comments on commit aa03c10

Please sign in to comment.