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