From 4768749e917eb852d085697cb66191fa53e54037 Mon Sep 17 00:00:00 2001 From: Holger Nahrstaedt <holger@nahrstaedt.de> Date: Fri, 2 Mar 2018 22:09:15 +0100 Subject: [PATCH] fix circeci --- .circleci/config.yml | 2 +- tox.ini | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5df6cbb2..afd1372b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,7 +30,7 @@ jobs: - run: name: install dependencies command: | - sudo python -m pip install --upgrade pip setuptools wheel mock pytest + sudo python -m pip install --upgrade pip setuptools wheel mock pytest pytest-cov sudo python -m pip install -r requirements.txt sudo python -m pip install --upgrade pycodestyle pyflakes coverage tox codacy-coverage virtualenv diff --git a/tox.ini b/tox.ini index 1c5f2f2b..2d5a71d6 100644 --- a/tox.ini +++ b/tox.ini @@ -34,8 +34,7 @@ commands = [testenv:coverage] deps = coverage commands = - {envpython} -m coverage run -m unittest discover -p "*test*" -s tests - {envpython} -m coverage xml + py.test --cov-report xml:coverage.xml [testenv:upload_coverage] deps = coverage -- GitLab