Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unneeded dbt-core installs in action as test run based off tox… #90

Merged
merged 2 commits into from
Mar 25, 2022

Conversation

McKnight-42
Copy link
Contributor

@McKnight-42 McKnight-42 commented Mar 25, 2022

resolves # 80

Description

Removes unused installs of dbt-core outside of tox env as it clutters up gha and can lead to misunderstanding of which version of dbt-core is being installed.

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-redshift next" section.

@cla-bot cla-bot bot added the cla:yes label Mar 25, 2022
Comment on lines -165 to -171
- 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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were unnecessary because we use tox to run tests. tox creates a virtualenv and installs dependencies from dev_requirement.txt when running tests

@McKnight-42 McKnight-42 merged commit 9dd5ca8 into main Mar 25, 2022
@McKnight-42 McKnight-42 deleted the mcknight/remove_uneeded_dbt-install_in_gha branch March 25, 2022 19:55
abbywh pushed a commit to abbywh/dbt-redshift that referenced this pull request Oct 11, 2023
dbt-labs#90)

* remove unneeded dbt-core installs in action as test run based off tox install of dev_requirements

* add changelog and removed redundant entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants