Skip to content

Commit 866ee64

Browse files
Add tests for Makefile quality targets
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent f8c8f22 commit 866ee64

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from pathlib import Path
2+
3+
4+
def test_makefile_defines_architecture_check_target():
5+
makefile_text = Path("Makefile").read_text(encoding="utf-8")
6+
7+
assert "architecture-check:" in makefile_text
8+
assert "tests/test_manager_model_dump_usage.py" in makefile_text
9+
assert "tests/test_ci_workflow_quality_gates.py" in makefile_text
10+
11+
12+
def test_makefile_check_target_includes_architecture_checks():
13+
makefile_text = Path("Makefile").read_text(encoding="utf-8")
14+
15+
assert "check: lint format-check compile architecture-check test build" in makefile_text

0 commit comments

Comments
 (0)