This commit is contained in:
Konstantin Baierer 2025-06-23 14:27:04 +02:00 committed by GitHub
commit 260d2cbadb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 5 deletions

View file

@ -54,6 +54,13 @@ jobs:
coverage html coverage html
coverage json coverage json
coverage xml 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 - name: Store coverage results
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
@ -63,11 +70,6 @@ jobs:
pytest.xml pytest.xml
coverage.xml coverage.xml
coverage.json coverage.json
- name: Upload coverage results
uses: codecov/codecov-action@v4
with:
files: coverage.xml
fail_ci_if_error: false
- name: Test standalone CLI - name: Test standalone CLI
run: make smoke-test run: make smoke-test
- name: Test OCR-D CLI - name: Test OCR-D CLI

View file

@ -6,6 +6,8 @@
document layout analysis (segmentation) with output in PAGE-XML document layout analysis (segmentation) with output in PAGE-XML
""" """
print("Just a test, don't actually merge!")
from logging import Logger from logging import Logger
from difflib import SequenceMatcher as sq from difflib import SequenceMatcher as sq
from PIL import Image, ImageDraw, ImageFont from PIL import Image, ImageDraw, ImageFont