From 664f5f660b39c4bc8456d79b333d4ae38a4ad5bc Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson <frjo@xdeb.org> Date: Tue, 23 Oct 2018 10:04:50 +0200 Subject: [PATCH] Adding coverage and codecov to circleci conf. --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b4db855af..605052d3d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,6 +45,7 @@ jobs: command: | python3 -m venv venv . venv/bin/activate + pip install coverage codecov pip install -r requirements.txt - run: @@ -77,4 +78,5 @@ jobs: python manage.py collectstatic --noinput --verbosity=0 python manage.py check python manage.py makemigrations --check --noinput --verbosity=0 - python manage.py test + coverage run --source='opentech' manage.py test + codecov -- GitLab