Skip to content

Commit 4e73f5a

Browse files
committed
Revert "test(pub): Temporarily disable PubFunTest"
This reverts commit 6de1aae as 0206c8f now frees additional disk space. Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent 136d411 commit 4e73f5a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

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

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

3939
class PubFunTest : WordSpec({
4040
"Pub" should {
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) {
41+
"resolve dart http dependencies correctly" {
4442
val definitionFile = getAssetFile("projects/external/dart-http/pubspec.yaml")
4543
val expectedResultFile = getAssetFile("projects/external/dart-http-expected-output.yml")
4644
val lockfile = definitionFile.resolveSibling("pubspec.lock").also {
@@ -56,7 +54,7 @@ class PubFunTest : WordSpec({
5654
result.toYaml() should matchExpectedResult(expectedResultFile, definitionFile)
5755
}
5856

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

@@ -65,7 +63,7 @@ class PubFunTest : WordSpec({
6563
result.toYaml() should matchExpectedResult(expectedResultFile, definitionFile)
6664
}
6765

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

@@ -76,7 +74,7 @@ class PubFunTest : WordSpec({
7674
}
7775
}
7876

79-
"resolve dependencies for a project with Flutter, Android and Cocoapods".config(enabled = false) {
77+
"resolve dependencies for a project with Flutter, Android and Cocoapods" {
8078
val definitionFile = getAssetFile(
8179
"projects/synthetic/flutter-project-with-android-and-cocoapods/pubspec.yaml"
8280
)
@@ -92,7 +90,7 @@ class PubFunTest : WordSpec({
9290
}
9391
}
9492

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

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

0 commit comments

Comments
 (0)