From 81d59ad02e985d9dacd822fdb4c93f681db23a69 Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Wed, 11 Jul 2018 13:15:49 -0700 Subject: [PATCH] [CI] Collect code coverage stats from unit tests --- .circleci/config.yml | 7 ++++++- dev-requirements.txt | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 524d75c..2137945 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,7 +29,12 @@ jobs: - run: name: run unit tests command: | - py.test tests/ + py.test --cov=tljh tests/ + + - run: + name: upload code coverage stats + command: | + codecov integration-test: docker: diff --git a/dev-requirements.txt b/dev-requirements.txt index e079f8a..9cf8484 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1 +1,3 @@ pytest +pytest-cov +codecov