Skip to content

Commit bb7a59f

Browse files
committed
Fix JSON install smoke database path
1 parent 3bbdaab commit bb7a59f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
return "$gdb_status"
155155
}
156156
157-
run_gdb .cache/gdb-json-install-smoke.log .venv/bin/python -c 'import shutil, tempfile; import ladybug as lb; tmp = tempfile.mkdtemp(); db = lb.Database(tmp); conn = lb.Connection(db); conn.execute("INSTALL json; LOAD json;"); shutil.rmtree(tmp)'
157+
run_gdb .cache/gdb-json-install-smoke.log .venv/bin/python -c 'import shutil, tempfile; from pathlib import Path; import ladybug as lb; tmp = Path(tempfile.mkdtemp()); db = lb.Database(tmp / "db.lbdb"); conn = lb.Connection(db); conn.execute("INSTALL json; LOAD json;"); shutil.rmtree(tmp)'
158158
159159
run_gdb .cache/gdb-capi-pytest.log .venv/bin/python -m pytest -vv ./test
160160

0 commit comments

Comments
 (0)