From 95aba73b8ad4345225aeafeec3649a4c168fbe3a Mon Sep 17 00:00:00 2001 From: "Wei-Chun, Chang" Date: Thu, 25 Apr 2024 18:23:16 +0800 Subject: [PATCH] debug Signed-off-by: Wei-Chun, Chang --- e2e-tests/smoke-test.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/e2e-tests/smoke-test.sh b/e2e-tests/smoke-test.sh index 2016e7ae..e0dff550 100755 --- a/e2e-tests/smoke-test.sh +++ b/e2e-tests/smoke-test.sh @@ -20,8 +20,8 @@ dbt docs generate --target prod --target-path target-base # dev git switch -c tests/smoke-test -git branch --show-current -git apply ./e2e-tests/fix-customer-lifetime-value.patch +pwd +git apply ../e2e-tests/fix-customer-lifetime-value.patch git add . git commit -m "Correct customer lifetime value calculation in customers" dbt build @@ -37,6 +37,9 @@ recce run --github-pull-request-url https://github.com/DataRecce/jaffle_shop_duc git_branch=$(cat recce_state.json | jq .git.branch) pr_url=$(cat recce_state.json | jq .pull_request.url) +echo $git_branch +echo $pr_url + if [[ "$git_branch" != "tests/smoke-test" ]]; then exit 1 fi