staging #96

Merged
lmiranda merged 90 commits from staging into main 2026-02-01 21:33:13 +00:00
3 changed files with 5 additions and 5 deletions
Showing only changes of commit 451dc10a10 - Show all commits

View File

@@ -113,15 +113,15 @@ test-cov: ## Run pytest with coverage
dbt-run: ## Run dbt models
@echo "$(GREEN)Running dbt models...$(NC)"
cd dbt && dbt run
cd dbt && dbt run --profiles-dir .
dbt-test: ## Run dbt tests
@echo "$(GREEN)Running dbt tests...$(NC)"
cd dbt && dbt test
cd dbt && dbt test --profiles-dir .
dbt-docs: ## Generate dbt documentation
@echo "$(GREEN)Generating dbt docs...$(NC)"
cd dbt && dbt docs generate && dbt docs serve
cd dbt && dbt docs generate --profiles-dir . && dbt docs serve --profiles-dir .
# =============================================================================
# Code Quality

View File

@@ -297,7 +297,7 @@ class DataPipeline:
# Run dbt models
logger.info(" Running dbt run...")
result = subprocess.run(
["dbt", "run"],
["dbt", "run", "--profiles-dir", str(dbt_project_dir)],
cwd=dbt_project_dir,
capture_output=True,
text=True,
@@ -314,7 +314,7 @@ class DataPipeline:
# Run dbt tests
logger.info(" Running dbt test...")
result = subprocess.run(
["dbt", "test"],
["dbt", "test", "--profiles-dir", str(dbt_project_dir)],
cwd=dbt_project_dir,
capture_output=True,
text=True,