smoke test, circle ci
Conflicts: Makefile ocrd_calamari/__init__.pyfix/readme-no-checkpoint
parent
afe6eec5a2
commit
b54ccf90f7
@ -0,0 +1,21 @@
|
|||||||
|
version: 2.1
|
||||||
|
orbs:
|
||||||
|
codecov: codecov/codecov@1.0.5
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build-python36:
|
||||||
|
docker:
|
||||||
|
- image: ubuntu:18.04
|
||||||
|
steps:
|
||||||
|
- run: apt-get update ; apt-get install -y make git curl
|
||||||
|
- checkout
|
||||||
|
- run: make install
|
||||||
|
- run: pip install -r requirements-test.txt
|
||||||
|
- run: make coverage
|
||||||
|
- codecov/upload
|
||||||
|
|
||||||
|
workflows:
|
||||||
|
build:
|
||||||
|
jobs:
|
||||||
|
- build-python36
|
@ -1 +1,5 @@
|
|||||||
|
__all__ = [
|
||||||
|
'CalamariRecognize'
|
||||||
|
]
|
||||||
|
|
||||||
from .recognize import CalamariRecognize
|
from .recognize import CalamariRecognize
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
pytest
|
||||||
|
ocrd_tesserocr >= 0.4.0
|
@ -0,0 +1,10 @@
|
|||||||
|
# pylint: disable=unused-import
|
||||||
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
from unittest import TestCase, skip, main # pylint: disable=unused-import
|
||||||
|
|
||||||
|
from test.assets import assets
|
||||||
|
|
||||||
|
PWD = os.path.dirname(os.path.realpath(__file__))
|
||||||
|
sys.path.append(PWD + '/../ocrd')
|
Loading…
Reference in New Issue