1 parent 8540d95 commit 8de7056Copy full SHA for 8de7056
1 file changed
tests/test_run_codex_pr_review.py
@@ -0,0 +1,22 @@
1
+from __future__ import annotations
2
+
3
+import re
4
+from pathlib import Path
5
6
7
+ROOT = Path(__file__).resolve().parents[1]
8
9
10
+def test_retired_local_review_script_is_absent() -> None:
11
+ assert not (ROOT / "scripts/run_codex_pr_review.py").exists()
12
13
14
+def test_codex_review_workflow_delegates_to_aiauditbridge() -> None:
15
+ workflow = (ROOT / ".github/workflows/codex_pr_review.yml").read_text(encoding="utf-8")
16
17
+ match = re.search(
18
+ r"uses:\s*QuantStrategyLab/AIAuditBridge/\.github/workflows/codex_pr_review\.yml@([^\s#]+)",
19
+ workflow,
20
+ )
21
+ assert match is not None
22
+ assert match.group(1)
0 commit comments