Path de duckdb configurable, correction des tests #72

This commit is contained in:
Colin Maudry
2026-04-22 20:43:38 +02:00
parent b4956c34d1
commit 3532a9c381
5 changed files with 59 additions and 45 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ def build_database(db_path: Path, parquet_path: Path) -> None:
def _ensure_database() -> Path:
db_path = Path("./decp.duckdb")
db_path = Path(os.getenv("DUCKDB_PATH", "./decp.duckdb"))
parquet_path = Path(os.getenv("DATA_FILE_PARQUET_PATH"))
lock_path = db_path.with_suffix(".duckdb.lock")