Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add manifest.json and GitHub Actions workflow for dbt tests
Co-authored-by: franciscojavierarceo <4163062+franciscojavierarceo@users.noreply.github.com>
  • Loading branch information
Copilot and franciscojavierarceo committed Jan 16, 2026
commit 8ba2205dd129a7f772fc9607fd1e42eb5eba539e
46 changes: 46 additions & 0 deletions .github/workflows/dbt-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: dbt-integration-tests

# Run dbt integration tests on PRs
on:
pull_request:
paths:
- 'sdk/python/feast/dbt/**'
- 'sdk/python/tests/integration/dbt/**'
- 'sdk/python/tests/unit/dbt/**'
- '.github/workflows/dbt-integration-tests.yml'

jobs:
dbt-integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
env:
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64

- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true

- name: Install dependencies
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot we should use the Makefile to install dependencies here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to use make install-python-dependencies-ci in commit 621cefb.

run: |
cd sdk/python
uv pip install --system -e "."
uv pip install --system dbt-artifacts-parser pytest pytest-xdist

- name: Run dbt integration tests
Copy link
Copy Markdown
Member

@franciscojavierarceo franciscojavierarceo Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copillot we should also run the standard dbt commands; i.e,.

dbt run
dbt build
dbt test

after that we should then test the new feast cli and test that feast materialization works from a dbt model into a sqlite online store.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added dbt commands (deps, build, test) and Feast CLI testing with SQLite online store in commit ba38da0. The workflow now:

  1. Installs dbt-core and dbt-duckdb
  2. Runs dbt build and test with seed data
  3. Creates a Feast project with SQLite online store
  4. Tests feast dbt import command
  5. Verifies Feast objects are created correctly

run: |
cd sdk/python
python -m pytest tests/integration/dbt/test_dbt_integration.py -v --tb=short

- name: Minimize uv cache
run: uv cache prune --ci
Loading