Skip to content

Commit 13c7f52

Browse files
committed
Disable ManualCodeSnippetTests
1 parent 81e1305 commit 13c7f52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/groovy/com/github/jengelman/gradle/plugins/shadow/docs/ManualCodeSnippetTests.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import com.github.jengelman.gradle.plugins.shadow.docs.internal.snippets.TestCod
88
import com.github.jengelman.gradle.plugins.shadow.docs.internal.snippets.executer.SnippetExecuter
99
import com.github.jengelman.gradle.plugins.shadow.docs.internal.snippets.fixture.GroovyScriptFixture
1010
import com.google.common.base.StandardSystemProperty
11+
import org.junit.jupiter.api.Disabled
1112
import org.junit.jupiter.api.DynamicTest
1213
import org.junit.jupiter.api.TestFactory
1314
import org.junit.jupiter.api.io.TempDir
@@ -21,6 +22,7 @@ class ManualCodeSnippetTests {
2122
"groovy no-run": new NoopExecuter()
2223
]
2324

25+
@Disabled("We have to run doc tests on main branch only")
2426
@TestFactory
2527
List<DynamicTest> provideDynamicTests(@TempDir Path tempDir) {
2628
File cwd = new File(StandardSystemProperty.USER_DIR.value())

0 commit comments

Comments
 (0)