From 0f6c98feeadec2345de39c48ee839f26dc39a3bd Mon Sep 17 00:00:00 2001 From: Panos Vagenas <35837085+vagenas@users.noreply.github.com> Date: Mon, 4 Nov 2024 12:38:19 +0100 Subject: [PATCH] exclude more examples from CI Signed-off-by: Panos Vagenas <35837085+vagenas@users.noreply.github.com> --- .github/workflows/checks.yml | 2 +- docs/examples/batch_convert.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 05f23fa0..14a59f6d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -28,7 +28,7 @@ jobs: run: | for file in docs/examples/*.py; do # Skip batch_convert.py - if [[ "$(basename "$file")" == "batch_convert.py" ]]; then + if [[ "$(basename "$file")" =~ ^(batch_convert|minimal|export_multimodal|custom_convert|develop_picture_enrichment).py ]]; then echo "Skipping $file" continue fi diff --git a/docs/examples/batch_convert.py b/docs/examples/batch_convert.py index 2c61336c..f6ad92bd 100644 --- a/docs/examples/batch_convert.py +++ b/docs/examples/batch_convert.py @@ -106,8 +106,7 @@ def main(): Path("./tests/data/2206.01062.pdf"), Path("./tests/data/2203.01017v2.pdf"), Path("./tests/data/2305.03393v1.pdf"), - Path("./tests/data/redp5110.pdf"), - Path("./tests/data/redp5695.pdf"), + Path("./tests/data/redp5110_sampled.pdf"), ] # buf = BytesIO(Path("./test/data/2206.01062.pdf").open("rb").read())