File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,6 +20,15 @@ def main():
2020 if not changed_files :
2121 return 0
2222
23+ # Run make
24+ print ("Running validation (make test)..." )
25+ res = run_command ("make test" )
26+ if res .returncode != 0 :
27+ print ("Validation failed:" )
28+ print (res .stdout )
29+ print (res .stderr )
30+ return res .returncode
31+
2332 # Calculate max(mtime) for all changed files (excluding .gemini/ and the journal)
2433 meaningful_changes = [f for f in changed_files if not f .startswith (".gemini/" ) and f != journal_path ]
2534
@@ -44,16 +53,6 @@ def main():
4453 print (f"Error: Updated journal required (update { journal_path } to include a summary of recent changes)." )
4554 return 1
4655
47- # Run make
48- print ("Running validation (make test)..." )
49- res = run_command ("make test" )
50- if res .returncode != 0 :
51- print ("Validation failed:" )
52- print (res .stdout )
53- print (res .stderr )
54- return res .returncode
55-
56- print ("Validation passed." )
5756 return 0
5857
5958if __name__ == "__main__" :
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ all: test lint
44
55test :
66 @echo " Running tests..."
7- python3 tests/test_hooks.py
87
98docs-serve :
109 @mkdocs serve
You can’t perform that action at this time.
0 commit comments