feat: implement dagster and dbt validation in ci
This commit is contained in:
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@@ -80,6 +80,15 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: uv sync
|
||||
|
||||
- name: Load environment from .env.example
|
||||
run: grep -v '^#' .env.example | grep -v '^$' >> "$GITHUB_ENV"
|
||||
|
||||
- name: Generate dbt manifest
|
||||
run: uv run dbt parse --project-dir dbt --profiles-dir dbt
|
||||
|
||||
- name: Validate Dagster definitions
|
||||
run: uv run dagster definitions validate
|
||||
|
||||
- name: Run tests with coverage
|
||||
run: uv run pytest tests/ --cov=data_platform --cov-report=json:coverage.json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user