Update setup.sh #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: DBT core cli | |
on: | |
push: | |
jobs: | |
cli-shell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@main | |
with: | |
python-version: "3.10" | |
- name: Update pip | |
run: python -m pip install --upgrade pip | |
- name: Install dbt-bigquery | |
run: pip install dbt-bigquery | |
- name: setup dbt project with BQ profile | |
run: | | |
./dbt/core/cli.sh initSilently CI | |
cd CI | |
../dbt/core/cli.sh initBQ | |
dbt-core-install: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@main | |
with: | |
python-version: "3.10" | |
- name: Install DBT core | |
run: pip install dbt-core dbt-postgres dbt-redshift dbt-snowflake dbt-bigquery dbt-trino | |