Skip to content

[Enhancement] Change the demo site PR indicator. #560

[Enhancement] Change the demo site PR indicator.

[Enhancement] Change the demo site PR indicator. #560

name: Run Smoke Test (DBT)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
smoke-test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python-version: "3.9"
dbt-version: "1.6"
- python-version: "3.11"
dbt-version: "latest"
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip" # caching pip dependencies
cache-dependency-path: setup.py
- run: |
python -m pip install --upgrade pip
if [ "${{ matrix.dbt-version }}" = "latest" ]; then
pip install dbt-duckdb
else
pip install dbt-duckdb==${{ matrix.dbt-version }}
fi
- name: Install Recce
run: |
pip install .
- name: Run smoke test - dbt
run: |
./integration_tests/dbt/smoke_test.sh
env:
PR_URL: ${{ github.event.pull_request.html_url }}