Skip to content

Commit 98066de

Browse files
Guard Makefile compile target coverage
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent 68b4a18 commit 98066de

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_makefile_quality_targets.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@ def test_makefile_check_target_includes_architecture_checks():
1919
"check: lint format-check compile architecture-check test build"
2020
in makefile_text
2121
)
22+
23+
24+
def test_makefile_compile_target_covers_sdk_examples_and_tests():
25+
makefile_text = Path("Makefile").read_text(encoding="utf-8")
26+
27+
assert "compile:\n\t$(PYTHON) -m compileall -q hyperbrowser examples tests" in makefile_text

0 commit comments

Comments
 (0)