chore(release): prepare portfolio-hub v0.2.0
This commit is contained in:
@@ -50,7 +50,7 @@ def test_workflow_actions_are_commit_pinned_and_verify_version_is_project_derive
|
||||
assert 'RELEASE_VERSION=v0.1.3' not in verify
|
||||
|
||||
|
||||
def test_release_version_and_migration_contract_are_v013_head_0030():
|
||||
def test_release_version_and_migration_contract_are_v020_head_0030():
|
||||
project = (REPO / "pyproject.toml").read_text()
|
||||
config = (REPO / "app/core/config.py").read_text()
|
||||
migrations = sorted(
|
||||
@@ -58,8 +58,8 @@ def test_release_version_and_migration_contract_are_v013_head_0030():
|
||||
for path in (REPO / "app/db/alembic/versions").glob("*.py")
|
||||
if path.name != "__init__.py"
|
||||
)
|
||||
assert 'version = "0.1.3"' in project
|
||||
assert 'app_version: str = "0.1.3"' in config
|
||||
assert 'version = "0.2.0"' in project
|
||||
assert 'app_version: str = "0.2.0"' in config
|
||||
assert len(migrations) == 30
|
||||
assert migrations[-1].startswith("20260820_0030")
|
||||
|
||||
@@ -85,8 +85,8 @@ def test_operations_separate_publication_deployment_migration_and_db_rollback():
|
||||
"Image rollback is **not** database rollback",
|
||||
"read-only root filesystem",
|
||||
"10001:10001",
|
||||
"PortfolioHub v0.1.3 container contract",
|
||||
"v0.1.3 introduces no schema migration",
|
||||
"PortfolioHub v0.2.0 container contract",
|
||||
"v0.2.0 adds migration `0030`",
|
||||
"trex-web v0.2.3 displays `strategy_nick`",
|
||||
):
|
||||
assert value in text
|
||||
|
||||
Reference in New Issue
Block a user