ci: install pip and require models for coverage

fix/readme-no-checkpoint
Konstantin Baierer 5 years ago committed by Gerber, Mike
parent b54ccf90f7
commit 7b099352c0

@ -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

@ -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

Loading…
Cancel
Save