File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -42,20 +42,22 @@ def main():
42
42
# Get the list of changed files in the pull request
43
43
changed_files = [file .filename for file in pr .get_files ()]
44
44
45
- print (changed_files )
46
45
# Traverse each file in the 'tests' folder and print JSON content
47
46
for file in changed_files :
47
+ print (file )
48
48
if file .startswith ('tests/' ):
49
49
# Read the file content
50
50
draft = file .split ('/' )[1 ]
51
51
52
+ print (draft )
52
53
urls = json .loads (repo .get_contents ("bin/specification_urls.json" ).decoded_content .decode ('utf-8' ))
53
54
54
55
changed_file_content = repo .get_contents (file ).decoded_content .decode ('utf-8' )
55
56
# Parse JSON content
56
57
try :
57
58
json_content = json .loads (changed_file_content )
58
59
for test in json_content :
60
+ print ("hiiii----------------" )
59
61
if "specification" in test :
60
62
for spec , section in test ["specification" ]:
61
63
if spec in ["core" , "validation" , "hyper-schema" ]:
You can’t perform that action at this time.
0 commit comments