From f641ef04e9898e84bbd786ebd164d2b9578762b8 Mon Sep 17 00:00:00 2001 From: marmare314 <49279081+Marmare314@users.noreply.github.com> Date: Sat, 30 Sep 2023 00:39:39 +0200 Subject: [PATCH] remove test comparing pdf files --- tools/check_readme.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tools/check_readme.py b/tools/check_readme.py index 9814dc9..0e7c996 100644 --- a/tools/check_readme.py +++ b/tools/check_readme.py @@ -1,4 +1,4 @@ -from generate_readme import split_images, combine_markdown, IMAGE_FOLDER, query_to_markdown, README_TEMPLATE_PATH, README_PATH, README_PDF_PATH +from generate_readme import split_images, combine_markdown, IMAGE_FOLDER, query_to_markdown, README_TEMPLATE_PATH, README_PATH from common import TypstRunner, ToolStatus, compare_files import os @@ -22,10 +22,7 @@ def main(): status.start_action("Compiling " + README_TEMPLATE_PATH) output_path = runner.tmp_file_path("readme.pdf") runner.compile_file(README_TEMPLATE_PATH, output_path) - if status.check_runner(runner): - status.end_action(compare_files(README_PDF_PATH, output_path)) - else: - status.end_action(False) + status.end_action(status.check_runner(runner)) status.start_action("Querying " + README_TEMPLATE_PATH) query_result, query_success = runner.query_file(README_TEMPLATE_PATH, "")