Initial curated Unraid-AppOps-Gateway source from 3bd6f6fee310125bfbb4d4650389a817f498724d
This commit is contained in:
commit
1dfbca08a1
528 files changed
+131054
No files matched your search
@@ -0,0 +1,18 @@
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
WORKFLOW = ROOT / ".gitea" / "workflows" / "managed-validation.yml"
|
||||
|
||||
|
||||
def test_managed_validation_keeps_parallel_lanes_and_full_gate():
|
||||
text = WORKFLOW.read_text(encoding="utf-8")
|
||||
for job in ("preflight:", "backend:", "frontend:", "security:", "polyglot:", "full:"):
|
||||
assert f" {job}" in text
|
||||
assert "needs: [preflight, backend, frontend, security, polyglot]" in text
|
||||
assert "All managed validation lanes passed." in text
|
||||
|
||||
|
||||
def test_preflight_preserves_docs_only_fast_path():
|
||||
text = WORKFLOW.read_text(encoding="utf-8")
|
||||
assert "runtime_change" in text
|
||||
assert "*.md|*.mdx|docs/*" in text
|
||||
Reference in new issue
Block a user