Fix Expected Units in Monitoring + Updating Source Table of Vitacare Streaming #1474
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 Compile | |
on: [pull_request] | |
jobs: | |
dbt-compile: | |
name: DBT Compile | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Create credentials directory | |
run: mkdir -p credentials | |
- name: Mount credentials | |
env: | |
DBT_CREDENTIALS_DEV: ${{ secrets.DBT_CREDENTIALS_DEV }} | |
run: echo "$DBT_CREDENTIALS_DEV" > /tmp/credentials.json | |
- name: Install dbt | |
run: pip install dbt-core dbt-bigquery setuptools | |
- name: Install DBT Dependencies | |
run: dbt deps | |
- name: Compile dbt models | |
run: dbt compile --profiles-dir . --profile default --target dev | |