From 60a05711bb8993db3ef501b3e2dcec79b36f0aae Mon Sep 17 00:00:00 2001 From: kba Date: Tue, 8 Apr 2025 14:46:22 +0200 Subject: [PATCH 1/2] test --- src/eynollah/eynollah.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eynollah/eynollah.py b/src/eynollah/eynollah.py index 022cf0a..ebdf5f1 100644 --- a/src/eynollah/eynollah.py +++ b/src/eynollah/eynollah.py @@ -6,6 +6,8 @@ document layout analysis (segmentation) with output in PAGE-XML """ +print("Just a test, don't actually merge!") + from logging import Logger from difflib import SequenceMatcher as sq from PIL import Image, ImageDraw, ImageFont From 3b1886973d522a61abd70fafd6660d6e2c2f0a00 Mon Sep 17 00:00:00 2001 From: kba Date: Tue, 8 Apr 2025 14:52:38 +0200 Subject: [PATCH 2/2] gha snippets from codecov sample page --- .github/workflows/test-eynollah.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-eynollah.yml b/.github/workflows/test-eynollah.yml index b27586c..6baf058 100644 --- a/.github/workflows/test-eynollah.yml +++ b/.github/workflows/test-eynollah.yml @@ -54,6 +54,13 @@ jobs: coverage html coverage json coverage xml + - name: Run tests + run: pytest --cov --cov-branch --cov-report=xml + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: false - name: Store coverage results uses: actions/upload-artifact@v4 with: @@ -63,11 +70,6 @@ jobs: pytest.xml coverage.xml coverage.json - - name: Upload coverage results - uses: codecov/codecov-action@v4 - with: - files: coverage.xml - fail_ci_if_error: false - name: Test standalone CLI run: make smoke-test - name: Test OCR-D CLI