diff --git a/stdlib/helpers.bash b/stdlib/helpers.bash index 252fc5c3..e61da042 100644 --- a/stdlib/helpers.bash +++ b/stdlib/helpers.bash @@ -58,6 +58,7 @@ copy_to_sandbox() { cp -a "$source_package" "$target_package" fi } + # Check if there is a localstack instance. # # This is needed to do docs test in the CI. diff --git a/stdlib/universe.bats b/stdlib/universe.bats index add1cc19..4eb14b2d 100644 --- a/stdlib/universe.bats +++ b/stdlib/universe.bats @@ -11,6 +11,13 @@ setup() { common_setup } +# Instead of setup, this just runs once +setup_file() { + load 'helpers' + + cleanup_localstack +} + @test "cue-sanity-check" { dagger -e sanity-check up }