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