diff --git a/.circleci/config.yml b/.circleci/config.yml index fbe2e7cd..ac7e5bb0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: | diff --git a/pytest.ini b/pytest.ini index c07aa69a..fdafc074 100644 --- a/pytest.ini +++ b/pytest.ini @@ -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