mirror of
https://git.hiabuto.net/C3MA/CCMA.git
synced 2026-07-01 03:04:52 +02:00
ci: add CCMA release builds
This commit is contained in:
@@ -39,10 +39,8 @@ def test_splash_minimum_defaults_to_five_and_is_clamped(tmp_path, monkeypatch) -
|
||||
assert load_config().splash_minimum_seconds == 0.0
|
||||
|
||||
|
||||
def test_legacy_c3ma_environment_variables_are_still_read(tmp_path, monkeypatch) -> None:
|
||||
monkeypatch.delenv("CCMA_CONFIG_DIR", raising=False)
|
||||
monkeypatch.delenv("CCMA_STORE", raising=False)
|
||||
monkeypatch.setenv("C3MA_CONFIG_DIR", str(tmp_path / "legacy-config"))
|
||||
monkeypatch.setenv("C3MA_STORE", str(tmp_path / "legacy-store"))
|
||||
def test_store_path_can_be_overridden_from_ccma_environment(tmp_path, monkeypatch) -> None:
|
||||
monkeypatch.setenv("CCMA_CONFIG_DIR", str(tmp_path / "config"))
|
||||
monkeypatch.setenv("CCMA_STORE", str(tmp_path / "store"))
|
||||
|
||||
assert load_config().store_path == str(tmp_path / "legacy-store")
|
||||
assert load_config().store_path == str(tmp_path / "store")
|
||||
|
||||
Reference in New Issue
Block a user