mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Style check
This commit is contained in:
parent
d261eeefc2
commit
698cbd8ec2
@ -8,6 +8,7 @@ import os
|
||||
import csv
|
||||
from s3_helper import S3Helper
|
||||
import time
|
||||
import json
|
||||
|
||||
NAME = "Style-Check"
|
||||
|
||||
@ -124,6 +125,10 @@ if __name__ == "__main__":
|
||||
if not os.path.exists(temp_path):
|
||||
os.makedirs(temp_path)
|
||||
|
||||
with open(os.getenv('GITHUB_EVENT_PATH'), 'r') as event_file:
|
||||
print("Dumping event file")
|
||||
print(json.load(event_file))
|
||||
|
||||
parent = get_parent_commit(gh, commit_sha)
|
||||
subprocess.check_output(f"docker run --cap-add=SYS_PTRACE --volume={repo_path}:/ClickHouse --volume={temp_path}:/test_output clickhouse/style-test:{docker_image_version}", shell=True)
|
||||
state, description, test_results, additional_files = process_result(temp_path)
|
||||
|
Loading…
Reference in New Issue
Block a user