Add Core Hub staging deployment profile
This commit is contained in:
parent
f280f9b0f8
commit
b895d1f772
12 changed files with 519 additions and 2 deletions
13
tests/test_staging_profile.py
Normal file
13
tests/test_staging_profile.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import importlib.util
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def test_staging_profile_check_passes() -> None:
|
||||
checker = Path(__file__).resolve().parents[1] / "scripts" / "check_staging_profile.py"
|
||||
spec = importlib.util.spec_from_file_location("check_staging_profile", checker)
|
||||
assert spec is not None
|
||||
assert spec.loader is not None
|
||||
module = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(module)
|
||||
|
||||
assert module.main() == 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue