Skip to content

Commit 6de1aae

Browse files
mnonnenmachersschuberth
authored andcommitted
test(pub): Temporarily disable PubFunTest
Temporarily disable the `PubFunTest` to prevent bootstrapping of the Flutter SDK in CI as the GitHub runners are currently running out of disk space. Signed-off-by: Martin Nonnenmacher <[email protected]>
1 parent fc77b1c commit 6de1aae

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

plugins/package-managers/pub/src/funTest/kotlin/PubFunTest.kt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ import org.ossreviewtoolkit.utils.test.shouldNotBeNull
3838

3939
class PubFunTest : WordSpec({
4040
"Pub" should {
41-
"resolve dart http dependencies correctly" {
41+
// TODO: Tests are temporarily disabled to prevent Bootstrapping of the Flutter SDK as GitHub runners are
42+
// running out of disk space. Enable them again once a better solution was implemented.
43+
"resolve dart http dependencies correctly".config(enabled = false) {
4244
val definitionFile = getAssetFile("projects/external/dart-http/pubspec.yaml")
4345
val expectedResultFile = getAssetFile("projects/external/dart-http-expected-output.yml")
4446
val lockFile = definitionFile.resolveSibling("pubspec.lock").also {
@@ -54,7 +56,7 @@ class PubFunTest : WordSpec({
5456
result.toYaml() should matchExpectedResult(expectedResultFile, definitionFile)
5557
}
5658

57-
"resolve dependencies for a project with dependencies without a static version" {
59+
"resolve dependencies for a project with dependencies without a static version".config(enabled = false) {
5860
val definitionFile = getAssetFile("projects/synthetic/any-version/pubspec.yaml")
5961
val expectedResultFile = getAssetFile("projects/synthetic/pub-expected-output-any-version.yml")
6062

@@ -63,7 +65,7 @@ class PubFunTest : WordSpec({
6365
result.toYaml() should matchExpectedResult(expectedResultFile, definitionFile)
6466
}
6567

66-
"resolve multi-module dependencies correctly" {
68+
"resolve multi-module dependencies correctly".config(enabled = false) {
6769
val definitionFile = getAssetFile("projects/synthetic/multi-module/pubspec.yaml")
6870
val expectedResultFile = getAssetFile("projects/synthetic/pub-expected-output-multi-module.yml")
6971

@@ -74,7 +76,7 @@ class PubFunTest : WordSpec({
7476
}
7577
}
7678

77-
"resolve dependencies for a project with Flutter, Android and Cocoapods" {
79+
"resolve dependencies for a project with Flutter, Android and Cocoapods".config(enabled = false) {
7880
val definitionFile = getAssetFile(
7981
"projects/synthetic/flutter-project-with-android-and-cocoapods/pubspec.yaml"
8082
)
@@ -90,7 +92,7 @@ class PubFunTest : WordSpec({
9092
}
9193
}
9294

93-
"show an error if no lockfile is present" {
95+
"show an error if no lockfile is present".config(enabled = false) {
9496
val definitionFile = getAssetFile("projects/synthetic/no-lockfile/pubspec.yaml")
9597

9698
val result = create("Pub").resolveSingleProject(definitionFile)

0 commit comments

Comments
 (0)