Remove missing coverage from pytest terminal output (#3180)

* Remove missing coverage from pytest terminal output

* move coverage reporting to CI
This commit is contained in:
Omer Lachish 2018-12-12 08:30:46 +02:00 committed by Arik Fraimovich
parent 52434a837f
commit e23a07af03
2 changed files with 1 additions and 2 deletions

View File

@ -34,7 +34,7 @@ jobs:
command: docker-compose run --rm postgres psql -h postgres -U postgres -c "create database tests;"
- run:
name: Run Tests
command: docker-compose run --name tests redash tests --junitxml=junit.xml tests/
command: docker-compose run --name tests redash tests --junitxml=junit.xml --cov-report xml --cov=redash --cov-config .coveragerc tests/
- run:
name: Copy Test Results
command: |

View File

@ -1,3 +1,2 @@
[pytest]
addopts = --cov-report xml --cov-report=term-missing --cov=redash --cov-config .coveragerc
norecursedirs = *.egg .eggs dist build docs .tox