1
0
Fork 0
mirror of https://github.com/mikegerber/ocrd_calamari.git synced 2025-06-09 19:59:53 +02:00

ci: install pip and require models for coverage

This commit is contained in:
Konstantin Baierer 2019-08-21 19:54:35 +02:00 committed by Gerber, Mike
parent b54ccf90f7
commit 7b099352c0
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ jobs:
docker: docker:
- image: ubuntu:18.04 - image: ubuntu:18.04
steps: steps:
- run: apt-get update ; apt-get install -y make git curl - run: apt-get update ; apt-get install -y make git curl python3-pip
- checkout - checkout
- run: make install - run: make install
- run: pip install -r requirements-test.txt - run: pip install -r requirements-test.txt

View file

@ -78,7 +78,7 @@ test: test/assets calamari_models
$(PYTHON) -m pytest --continue-on-collection-errors test $(PYTEST_ARGS) $(PYTHON) -m pytest --continue-on-collection-errors test $(PYTEST_ARGS)
# Run unit tests and determine test coverage # Run unit tests and determine test coverage
coverage: coverage: test/assets calamari_models
coverage erase coverage erase
make test PYTHON="coverage run" make test PYTHON="coverage run"
coverage report coverage report