@ -18,7 +18,6 @@ jobs:
key: ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }}
paths:
ocrd-resources
- run: git submodule update --init
- run: make test
@ -32,8 +32,6 @@ jobs:
with:
key: models
path: /home/runner/.local/share/ocrd-resources/ocrd-sbb-binarize/*
- name: Clone submodules
run: git submodule update --init
- name: Install dependencies for test
# also downloads models, if not already present
run: make models test/assets
@ -24,13 +24,13 @@ install:
models:
ocrd resmgr download ocrd-sbb-binarize "*"
repo/assets:
repo/assets/data:
git submodule update --init
# Setup test data
test/assets: repo/assets
test/assets: repo/assets/data
@mkdir -p $@
cp -r -t $@ repo/assets/data/*
cp -r -t $@ $</*
# Run tests
.PHONY: test