mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-15 19:09:58 +02:00
CI: run deps-test with OCR extra so symlink rule fires
This commit is contained in:
parent
23535998f7
commit
18bbdb7c48
2 changed files with 2 additions and 2 deletions
2
.github/workflows/test-eynollah.yml
vendored
2
.github/workflows/test-eynollah.yml
vendored
|
@ -65,7 +65,7 @@ jobs:
|
|||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
make install-dev EXTRAS=OCR,plotting
|
||||
make deps-test
|
||||
make deps-test EXTRAS=OCR,plotting
|
||||
- name: Test with pytest
|
||||
run: make coverage PYTEST_ARGS="-vv --junitxml=pytest.xml"
|
||||
- name: Get coverage results
|
||||
|
|
2
Makefile
2
Makefile
|
@ -91,7 +91,7 @@ endif
|
|||
deps-test: $(BIN_MODELNAME) $(SEG_MODELNAME)
|
||||
$(PIP) install -r requirements-test.txt
|
||||
ifeq (OCR,$(findstring OCR, $(EXTRAS)))
|
||||
ln -s $(OCR_MODELNAME)/* $(SEG_MODELNAME)/
|
||||
ln -rs $(OCR_MODELNAME)/* $(SEG_MODELNAME)/
|
||||
endif
|
||||
|
||||
smoke-test: TMPDIR != mktemp -d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue