From 63d816da1a1d37a20d57641270346e703102d23e Mon Sep 17 00:00:00 2001 From: Pawel Sikora Date: Thu, 29 Apr 2021 22:44:28 +0200 Subject: [PATCH] add coverage report to travis ci --- .travis.yml | 1 + requirements_dev.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 30f92ce..39f13af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,5 +4,6 @@ script: - python setup.py install - flake8 --max-line-length=120 --ignore=D101,D104,D212,D200,E203,W293,D412,W503 mkdocs_with_confluence/ - black --check --line-length=120 mkdocs_with_confluence/ + - pytest --cov=mkdocs_with_confluence/ after_success: - bash <(curl -s https://codecov.io/bash) diff --git a/requirements_dev.txt b/requirements_dev.txt index 4e92b9d..ac72043 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,2 +1,3 @@ black flake8 +pytest-cov