Skip to content

[Bug] DRC-951 dbt run defer could make the server cannot launch #731

[Bug] DRC-951 dbt run defer could make the server cannot launch

[Bug] DRC-951 dbt run defer could make the server cannot launch #731

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: "1.7"
- python-version: "3.11"
dbt-version: "1.8"
- 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-core
pip install dbt-duckdb
else
pip install dbt-core~=${{ matrix.dbt-version }}.0
pip install dbt-duckdb~=${{ matrix.dbt-version }}.0
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 }}