From 7a0b24f7ad722f6cdb1b03feda04b5c39170d8bb Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Mon, 5 Feb 2024 08:42:18 -0600 Subject: [PATCH] use venvs --- .github/workflows/ci_dbt_core_testing.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_dbt_core_testing.yml b/.github/workflows/ci_dbt_core_testing.yml index 60ab3249..401cd203 100644 --- a/.github/workflows/ci_dbt_core_testing.yml +++ b/.github/workflows/ci_dbt_core_testing.yml @@ -125,9 +125,11 @@ jobs: with: python-version: "3.11" - - name: "Install python tools" + - name: "Start Virtual Env, Upgrade pip" run: | - python -m pip install --user --upgrade pip + python -m venv env + source env/bin/activate + python -m pip install --upgrade pip python -m pip --version # tox takes care of installing the correct version of dbt-core dependencies but we need to @@ -235,9 +237,11 @@ jobs: if: runner.os == 'Windows' uses: ./.github/actions/setup-postgres-windows - - name: "Install python tools" + - name: "Start Virtual Env, Upgrade pip" run: | - python -m pip install --user --upgrade pip + python -m venv env + source env/bin/activate + python -m pip install --upgrade pip python -m pip --version # tox takes care of installing the correct version of dbt-core dependencies but we need to