From 80f267133d2c6d415673845a098a8e0e41935876 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Wed, 24 Apr 2024 11:50:43 +0200 Subject: [PATCH] Revert "test(pub): Temporarily disable `PubFunTest`" This reverts commit 6de1aae as 0206c8f now frees additional disk space. Signed-off-by: Sebastian Schuberth --- .../pub/src/funTest/kotlin/PubFunTest.kt | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/plugins/package-managers/pub/src/funTest/kotlin/PubFunTest.kt b/plugins/package-managers/pub/src/funTest/kotlin/PubFunTest.kt index 641bf33541623..b7b6f8236c5d3 100644 --- a/plugins/package-managers/pub/src/funTest/kotlin/PubFunTest.kt +++ b/plugins/package-managers/pub/src/funTest/kotlin/PubFunTest.kt @@ -38,9 +38,7 @@ import org.ossreviewtoolkit.utils.test.shouldNotBeNull class PubFunTest : WordSpec({ "Pub" should { - // TODO: Tests are temporarily disabled to prevent Bootstrapping of the Flutter SDK as GitHub runners are - // running out of disk space. Enable them again once a better solution was implemented. - "resolve dart http dependencies correctly".config(enabled = false) { + "resolve dart http dependencies correctly" { val definitionFile = getAssetFile("projects/external/dart-http/pubspec.yaml") val expectedResultFile = getAssetFile("projects/external/dart-http-expected-output.yml") val lockfile = definitionFile.resolveSibling("pubspec.lock").also { @@ -56,7 +54,7 @@ class PubFunTest : WordSpec({ result.toYaml() should matchExpectedResult(expectedResultFile, definitionFile) } - "resolve dependencies for a project with dependencies without a static version".config(enabled = false) { + "resolve dependencies for a project with dependencies without a static version" { val definitionFile = getAssetFile("projects/synthetic/any-version/pubspec.yaml") val expectedResultFile = getAssetFile("projects/synthetic/pub-expected-output-any-version.yml") @@ -65,7 +63,7 @@ class PubFunTest : WordSpec({ result.toYaml() should matchExpectedResult(expectedResultFile, definitionFile) } - "resolve multi-module dependencies correctly".config(enabled = false) { + "resolve multi-module dependencies correctly" { val definitionFile = getAssetFile("projects/synthetic/multi-module/pubspec.yaml") val expectedResultFile = getAssetFile("projects/synthetic/pub-expected-output-multi-module.yml") @@ -76,7 +74,7 @@ class PubFunTest : WordSpec({ } } - "resolve dependencies for a project with Flutter, Android and Cocoapods".config(enabled = false) { + "resolve dependencies for a project with Flutter, Android and Cocoapods" { val definitionFile = getAssetFile( "projects/synthetic/flutter-project-with-android-and-cocoapods/pubspec.yaml" ) @@ -92,7 +90,7 @@ class PubFunTest : WordSpec({ } } - "show an error if no lockfile is present".config(enabled = false) { + "show an error if no lockfile is present" { val definitionFile = getAssetFile("projects/synthetic/no-lockfile/pubspec.yaml") val result = create("Pub").resolveSingleProject(definitionFile)