Skip to content

Commit e23a07a

Browse files
Omer Lachisharikfr
Omer Lachish
authored andcommitted
Remove missing coverage from pytest terminal output (getredash#3180)
* Remove missing coverage from pytest terminal output * move coverage reporting to CI
1 parent 52434a8 commit e23a07a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
command: docker-compose run --rm postgres psql -h postgres -U postgres -c "create database tests;"
3535
- run:
3636
name: Run Tests
37-
command: docker-compose run --name tests redash tests --junitxml=junit.xml tests/
37+
command: docker-compose run --name tests redash tests --junitxml=junit.xml --cov-report xml --cov=redash --cov-config .coveragerc tests/
3838
- run:
3939
name: Copy Test Results
4040
command: |

pytest.ini

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

0 commit comments

Comments
 (0)