From 3833cf95b91cffe30b5c56ce5ca6b349c93f1432 Mon Sep 17 00:00:00 2001 From: Lumi AI Workspace Date: Tue, 7 Jul 2026 00:54:55 +0700 Subject: [PATCH] test: check version sync --- tests/integration/test_version_sync.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/integration/test_version_sync.py diff --git a/tests/integration/test_version_sync.py b/tests/integration/test_version_sync.py new file mode 100644 index 00000000..b49d1fd5 --- /dev/null +++ b/tests/integration/test_version_sync.py @@ -0,0 +1,12 @@ +from __future__ import annotations + +import tomllib +from pathlib import Path + +from openamp_foundry import __version__ + + +def test_package_version_matches_pyproject(): + pyproject = tomllib.loads(Path("pyproject.toml").read_text(encoding="utf-8")) + + assert __version__ == pyproject["project"]["version"]