diff --git a/tests/integration/helpers/recipe.bash b/tests/integration/helpers/recipe.bash index 0e7009b9..d59b90fd 100644 --- a/tests/integration/helpers/recipe.bash +++ b/tests/integration/helpers/recipe.bash @@ -28,6 +28,8 @@ _ensure_latest_version(){ } _ensure_catalogue(){ - run git clone https://git.coopcloud.tech/coop-cloud/recipes-catalogue-json.git $ABRA_DIR/catalogue - assert_success + if [[ ! -d "$ABRA_DIR/catalogue" ]]; then + run git clone https://git.coopcloud.tech/coop-cloud/recipes-catalogue-json.git $ABRA_DIR/catalogue + assert_success + fi }