Skip to content

chore(deps): update dbt to 1.7.11 #33

chore(deps): update dbt to 1.7.11

chore(deps): update dbt to 1.7.11 #33

Workflow file for this run

name: CD Pipeline
on:
push:
jobs:
test:
name: Test
runs-on: ubuntu-latest
container:
image: ghcr.io/dbt-labs/dbt-postgres:1.7.11
env:
POSTGRES_HOST: ${{ vars.POSTGRES_HOST }}
POSTGRES_USER: ${{ vars.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_DB: ${{ vars.POSTGRES_DB }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: |
dbt deps
- name: Run unit tests
run: |
dbt test --target test --select tag:unit-tests
- name: Run component tests
run: |
dbt test --target test --select tag:component-test
deploy-test:
name: Deploy to test
needs: [test]
uses: ./.github/workflows/deploy.yml
with:
environment-name: test
secrets: inherit