From 6de39d5b036c3f82477f7a622199b0647ebcd31e Mon Sep 17 00:00:00 2001 From: Benoit Perigaud <8754100+b-per@users.noreply.github.com> Date: Wed, 7 Dec 2022 19:10:26 +0100 Subject: [PATCH] Remove `--pre` for DuckDB for testing --- run_test.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/run_test.sh b/run_test.sh index e4675fe3..8009d663 100755 --- a/run_test.sh +++ b/run_test.sh @@ -1,12 +1,19 @@ #!/bin/bash VENV="venv/bin/activate" -if [[ ! -f $VENV ]]; then +if [[ ! -f $VENV ]] +then python3 -m venv venv . $VENV pip install --upgrade pip setuptools - pip install --pre "dbt-$1" + + if [[ $1 == "duckdb" ]] + then + pip install "dbt-$1" + else + pip install --pre "dbt-$1" + fi fi . $VENV