From e449dbab6d9f6e7474d9ee925d9e263a3d5c389f Mon Sep 17 00:00:00 2001 From: kba Date: Wed, 5 Nov 2025 15:28:41 +0100 Subject: [PATCH] make *test: fix paths --- .github/workflows/test-eynollah.yml | 1 - Makefile | 18 +++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-eynollah.yml b/.github/workflows/test-eynollah.yml index 2fb9f4b..4e5cf6c 100644 --- a/.github/workflows/test-eynollah.yml +++ b/.github/workflows/test-eynollah.yml @@ -70,7 +70,6 @@ jobs: - name: Hard-upgrade torch for debugging run: | python -m pip install --upgrade torch - find models_eynollah - name: Test with pytest run: make coverage PYTEST_ARGS="-vv --junitxml=pytest.xml" diff --git a/Makefile b/Makefile index f9e2d79..fb12cb9 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ $(EYNOLLAH_MODELS_ZIP): $(WGET) $@ $(EYNOLLAH_MODELS_URL) $(EYNOLLAH_MODELS_DIR): $(EYNOLLAH_MODELS_ZIP) - mkdir -p $@; cd $@; unzip ../$< + unzip $< build: $(PIP) install build @@ -76,22 +76,22 @@ deps-test: smoke-test: TMPDIR != mktemp -d smoke-test: tests/resources/kant_aufklaerung_1784_0020.tif # layout analysis: - eynollah layout -i $< -o $(TMPDIR) -m $(CURDIR)/$(SEG_MODELNAME) + eynollah layout -i $< -o $(TMPDIR) -m $(CURDIR)/models_eynollah fgrep -q http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15 $(TMPDIR)/$(basename $(