From 7b099352c0bbfadbaf82668fc3227c591f076369 Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Wed, 21 Aug 2019 19:54:35 +0200 Subject: [PATCH] ci: install pip and require models for coverage --- .circleci/config.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index deaaeb8..49abb41 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ jobs: docker: - image: ubuntu:18.04 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 - run: make install - run: pip install -r requirements-test.txt diff --git a/Makefile b/Makefile index a31830f..da1eed5 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,7 @@ test: test/assets calamari_models $(PYTHON) -m pytest --continue-on-collection-errors test $(PYTEST_ARGS) # Run unit tests and determine test coverage -coverage: +coverage: test/assets calamari_models coverage erase make test PYTHON="coverage run" coverage report