Skip to content

new changes to hide the creds #64

new changes to hide the creds

new changes to hide the creds #64

Workflow file for this run

name: Our first dbt PR job
#updates
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
push:
branches:
- '!main'
jobs:
dbt_ci:
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.8'
- name: Install requirements
run: pip install -r requirements.txt
- name: Install dbt dependencies
run: dbt deps
- name: dbt build
run: dbt build --full-refresh --profiles-dir ./
env:
POSTGRES_DBNAME: ${{ secrets.POSTGRES_DBNAME }}
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_HOST: ${{ secrets.POSTGRES_HOST }}
- name: Benchmarking models
run: "sqlfluff lint models --bench"
- name: Lint models
run: "sqlfluff lint models -f human"