Skip to content

Commit 582e12b

Browse files
committed
logging logs check
1 parent df3bdec commit 582e12b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/json_tests_workflow.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,22 @@ def main():
4242
# Get the list of changed files in the pull request
4343
changed_files = [file.filename for file in pr.get_files()]
4444

45-
print(changed_files)
4645
# Traverse each file in the 'tests' folder and print JSON content
4746
for file in changed_files:
47+
print(file)
4848
if file.startswith('tests/'):
4949
# Read the file content
5050
draft = file.split('/')[1]
5151

52+
print(draft)
5253
urls = json.loads(repo.get_contents("bin/specification_urls.json").decoded_content.decode('utf-8'))
5354

5455
changed_file_content = repo.get_contents(file).decoded_content.decode('utf-8')
5556
# Parse JSON content
5657
try:
5758
json_content = json.loads(changed_file_content)
5859
for test in json_content:
60+
print("hiiii----------------")
5961
if "specification" in test:
6062
for spec, section in test["specification"]:
6163
if spec in ["core", "validation", "hyper-schema"]:

0 commit comments

Comments
 (0)