mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-01 09:29:53 +02:00
Merge branch 'master' of https://github.com/qurator-spk/ocrd-galley
This commit is contained in:
commit
486243b31d
2 changed files with 22 additions and 3 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -60,7 +60,11 @@ jobs:
|
|||
|
||||
|
||||
test:
|
||||
needs: build-rest
|
||||
needs: [matrix, build-rest]
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
subimage: ${{ fromJson(needs.matrix.outputs.all) }}
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DOCKER_IMAGE_TAG: sha-${{ github.sha }} # needed to run the correct version through the wrapper
|
||||
|
@ -76,8 +80,7 @@ jobs:
|
|||
-
|
||||
name: Test
|
||||
run: |
|
||||
ocrd --version
|
||||
ocrd-dinglehopper --version
|
||||
./test-${{ matrix.subimage }}.sh
|
||||
|
||||
|
||||
# At this point, we have successfully built, uploaded and tested the images. We now just need to add
|
||||
|
|
16
test-eynollah.sh
Executable file
16
test-eynollah.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
set -ex
|
||||
|
||||
test_id=`basename $0`
|
||||
cd `mktemp -d /tmp/$test_id-XXXXX`
|
||||
|
||||
# Prepare processors
|
||||
ocrd resmgr download ocrd-eynollah-segment default
|
||||
|
||||
# Prepare test workspace
|
||||
wget https://qurator-data.de/examples/actevedef_718448162.first-page+binarization+segmentation.zip
|
||||
unzip actevedef_718448162.first-page+binarization+segmentation.zip
|
||||
cd actevedef_718448162.first-page+binarization+segmentation
|
||||
|
||||
# Run tests
|
||||
ocrd-eynollah-segment -P models default -I OCR-D-IMG-BIN -O TEST-EYNOLLAH-SEG
|
Loading…
Add table
Add a link
Reference in a new issue