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

move to GitHub Actions #265

Merged
merged 7 commits into from
Apr 4, 2024
Merged

move to GitHub Actions #265

merged 7 commits into from
Apr 4, 2024

Conversation

dataders
Copy link
Collaborator

@dataders dataders commented Mar 18, 2024

Description & motivation

resolves: #262
resolves: #261
resolves: #267

@dataders dataders marked this pull request as ready for review April 4, 2024 02:37
@dataders dataders requested a review from jeremyyeo as a code owner April 4, 2024 02:37
max-parallel: 3
matrix:
python-version: [ "3.11"] # "3.10", "3.12"]
dbt-version: ["1.7.0"] # "1.6.0", , "1.8.0b1"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

We used to run ci only on prereleases - might be worth doing:

  • Current stable release (pip install dbt-core dbt-snowflake).
  • Latest prerelease (pip install dbt-core dbt-snowflake --pre).

But maybe something to think about for later :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

100% will have it again eventually. currently blocked on this by #271

Copy link
Collaborator

@jeremyyeo jeremyyeo left a comment

Choose a reason for hiding this comment

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

LGTM 👍

dataders added 5 commits April 4, 2024 13:36
replace the var

test parallelization

add snowflake back

retitle

add another snowflake env var

exclude 3.12 for snowflake

K.I.S.S.

once more
cleaner use of json
Comment on lines +43 to +60
env:
REDSHIFT_TEST_HOST: ${{ secrets.REDSHIFT_TEST_HOST }}
REDSHIFT_TEST_USER: ${{ secrets.REDSHIFT_TEST_USER }}
REDSHIFT_TEST_PASS: ${{ secrets.REDSHIFT_TEST_PASS }}
REDSHIFT_TEST_PORT: ${{ secrets.REDSHIFT_TEST_PORT }}
REDSHIFT_TEST_DBNAME: ${{ secrets.REDSHIFT_TEST_DBNAME }}
REDSHIFT_SPECTRUM_IAM_ROLE: ${{ secrets.REDSHIFT_SPECTRUM_IAM_ROLE }}
SNOWFLAKE_TEST_ACCOUNT: ${{ secrets.SNOWFLAKE_TEST_ACCOUNT }}
SNOWFLAKE_TEST_USER: ${{ secrets.SNOWFLAKE_TEST_USER }}
SNOWFLAKE_TEST_PASS: ${{ secrets.SNOWFLAKE_TEST_PASS }}
SNOWFLAKE_TEST_WHNAME: ${{ secrets.SNOWFLAKE_TEST_WHNAME }}
SNOWFLAKE_TEST_ROLE: ${{ secrets.SNOWFLAKE_TEST_ROLE }}
SNOWFLAKE_TEST_DBNAME: ${{ secrets.SNOWFLAKE_TEST_DBNAME }}
BIGQUERY_TEST_PROJECT: ${{ secrets.BIGQUERY_TEST_PROJECT }}
BIGQUERY_PRIVATE_KEY: ${{ secrets.BIGQUERY_PRIVATE_KEY }}
BIGQUERY_PRIVATE_KEY_ID: ${{ secrets.BIGQUERY_PRIVATE_KEY_ID }}
BIGQUERY_CLIENT_EMAIL: ${{ secrets.BIGQUERY_CLIENT_EMAIL }}
BIGQUERY_CLIENT_ID: ${{ secrets.BIGQUERY_CLIENT_ID }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

should these be prefixed by DBT_ENV_SECRET?

@dataders dataders merged commit 93f0711 into main Apr 4, 2024
10 checks passed
@dataders dataders deleted the migrate-to-GHA branch April 4, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants