From 6a1212d8555c83389b31d7c0dd8ed1a1dc39235e Mon Sep 17 00:00:00 2001 From: Markus Date: Fri, 8 Apr 2022 09:05:59 +0200 Subject: [PATCH] feat: add scripts for testing go --- scripts/lambda-test-update.sh | 5 +++++ scripts/lambda-test.sh | 5 +++++ 2 files changed, 10 insertions(+) create mode 100755 scripts/lambda-test-update.sh create mode 100755 scripts/lambda-test.sh diff --git a/scripts/lambda-test-update.sh b/scripts/lambda-test-update.sh new file mode 100755 index 00000000..238a6c61 --- /dev/null +++ b/scripts/lambda-test-update.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +BASEPATH=$(git rev-parse --show-toplevel) +cd "$BASEPATH/lambda" +UPDATE_SNAPS=true go test -v \ No newline at end of file diff --git a/scripts/lambda-test.sh b/scripts/lambda-test.sh new file mode 100755 index 00000000..40e10a0b --- /dev/null +++ b/scripts/lambda-test.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +BASEPATH=$(git rev-parse --show-toplevel) +cd "$BASEPATH/lambda" +UPDATE_SNAPS=true go test -v \ No newline at end of file