Merge pull request #436 from DataRecce/feature/drc-709-change-add-to-… #442
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: 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 }} |