From 596876e9f60f643337582bcbe58f2fb07a632e36 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Tue, 10 Dec 2024 16:07:21 -0500 Subject: [PATCH] add dbt-tests-adapter to the dev deps update --- .github/scripts/update_dev_dependency_branches.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/scripts/update_dev_dependency_branches.sh b/.github/scripts/update_dev_dependency_branches.sh index 9385cf885..603dec17b 100755 --- a/.github/scripts/update_dev_dependency_branches.sh +++ b/.github/scripts/update_dev_dependency_branches.sh @@ -8,14 +8,17 @@ dbt_common_branch=$3 target_req_file="hatch.toml" core_req_sed_pattern="s|dbt-core.git.*#subdirectory=core|dbt-core.git@${dbt_core_branch}#subdirectory=core|g" adapters_req_sed_pattern="s|dbt-adapters.git|dbt-adapters.git@${dbt_adapters_branch}|g" +tests_req_sed_pattern="s|dbt-adapters.git.*#subdirectory=dbt-tests-adapter|dbt-adapters.git@${dbt_adapters_branch}#subdirectory=dbt-tests-adapter|g" common_req_sed_pattern="s|dbt-common.git|dbt-common.git@${dbt_common_branch}|g" if [[ "$OSTYPE" == darwin* ]]; then # mac ships with a different version of sed that requires a delimiter arg sed -i "" "$adapters_req_sed_pattern" $target_req_file + sed -i "" "$tests_req_sed_pattern" $target_req_file sed -i "" "$core_req_sed_pattern" $target_req_file sed -i "" "$common_req_sed_pattern" $target_req_file else sed -i "$adapters_req_sed_pattern" $target_req_file + sed -i "$tests_req_sed_pattern" $target_req_file sed -i "$core_req_sed_pattern" $target_req_file sed -i "$common_req_sed_pattern" $target_req_file fi