Fix localstack setup issue on local run

Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
This commit is contained in:
Guillaume de Rouville 2021-08-30 18:19:00 +02:00
parent e7a738211f
commit 99d2494033
2 changed files with 8 additions and 0 deletions

View File

@ -58,6 +58,7 @@ copy_to_sandbox() {
cp -a "$source_package" "$target_package" cp -a "$source_package" "$target_package"
fi fi
} }
# Check if there is a localstack instance. # Check if there is a localstack instance.
# #
# This is needed to do docs test in the CI. # This is needed to do docs test in the CI.

View File

@ -11,6 +11,13 @@ setup() {
common_setup common_setup
} }
# Instead of setup, this just runs once
setup_file() {
load 'helpers'
cleanup_localstack
}
@test "cue-sanity-check" { @test "cue-sanity-check" {
dagger -e sanity-check up dagger -e sanity-check up
} }