Commit Graph

4 Commits

Author SHA1 Message Date
Wei Ji a87b64b71e Mark test requiring ollama server as xfail (#10)
Should only run these locally for now
2025-12-04 15:29:12 +00:00
Daniel Wiesmann bcc331bd5e Add api test back in 2025-12-04 14:58:37 +00:00
Wei Ji 2d5af2adb9 Enable pytest-asyncio tests in CI (#3)
* Set asyncio_mode="auto" in pytest.ini config

Xref https://pytest-asyncio.readthedocs.io/en/latest/reference/configuration.html#asyncio-mode

* Add test-python GitHub Actions CI workflow

* Add `--color=yes` flag to force GitHub Actions logs to have color

Xref https://github.com/pytest-dev/pytest/issues/7443

* Refactor contents of test_api.py slightly

Using some ruff rules

* Delete test_api.py

* Make test_get_place async

* Make get_place async, and call .ainvoke method on it
2025-12-04 13:09:02 +00:00
Daniel Wiesmann 1a11473421 Initial commit 2025-12-04 09:36:14 +00:00