mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-07-01 06:59:54 +02:00
Merge 3b1886973d
into 3dcbb20cac
This commit is contained in:
commit
260d2cbadb
2 changed files with 9 additions and 5 deletions
12
.github/workflows/test-eynollah.yml
vendored
12
.github/workflows/test-eynollah.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue