From 02499eec348f585f911d581b282f6e38f08f646b Mon Sep 17 00:00:00 2001 From: Matthew McKnight Date: Thu, 24 Mar 2022 16:46:31 -0500 Subject: [PATCH] uncommenting to see if we can make pointers of local install and tox install the same --- .github/workflows/main.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 02af66095..442184738 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -93,10 +93,10 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - # - name: Get dbt-core version - # # if this is a pull request uses ref of base branch otherwise uses ref of current commit - # id: dbt-core-version - # run: echo "::set-output name=dbt-core-ref::${{ github.event_name == 'pull_request' && github.base_ref || github.ref }}" + - name: Get dbt-core version + # if this is a pull request uses ref of base branch otherwise uses ref of current commit + id: dbt-core-version + run: echo "::set-output name=dbt-core-ref::${{ github.event_name == 'pull_request' && github.base_ref || github.ref }}" - name: Install python dependencies run: | pip install --user --upgrade pip @@ -104,13 +104,13 @@ jobs: pip --version tox --version - # - name: Install dbt-core from branch ${{ steps.dbt-core-version.outputs.dbt-core-ref }} - # run: | - # pip install "git+https://github.com/dbt-labs/dbt-core.git@${{ steps.dbt-core-version.outputs.dbt-core-ref }}#egg=dbt-core&subdirectory=core" + - name: Install dbt-core from branch ${{ steps.dbt-core-version.outputs.dbt-core-ref }} + run: | + pip install "git+https://github.com/dbt-labs/dbt-core.git@${{ steps.dbt-core-version.outputs.dbt-core-ref }}#egg=dbt-core&subdirectory=core" - # - name: Install dbt-postgres from ${{ steps.dbt-core-version.outputs.dbt-core-ref }} - # run: | - # pip install "git+https://github.com/dbt-labs/dbt-core.git@${{ steps.dbt-core-version.outputs.dbt-core-ref }}#egg=dbt-postgres&subdirectory=plugins/postgres" + - name: Install dbt-postgres from ${{ steps.dbt-core-version.outputs.dbt-core-ref }} + run: | + pip install "git+https://github.com/dbt-labs/dbt-core.git@${{ steps.dbt-core-version.outputs.dbt-core-ref }}#egg=dbt-postgres&subdirectory=plugins/postgres" - name: Run tox run: tox