# .coveragerc for edx-platform
[run]
data_file = reports/.coverage
source =
    cms
    common/djangoapps
    common/lib/calc
    common/lib/capa
    common/lib/xmodule
    lms
    openedx/core/djangoapps
    pavelib

omit =
    cms/envs/*
    cms/manage.py
    cms/djangoapps/*/migrations/*
    cms/djangoapps/*/features/*
    lms/envs/*
    lms/djangoapps/*/migrations/*
    lms/djangoapps/*/features/*
    common/djangoapps/terrain/*
    common/djangoapps/*/migrations/*
    openedx/core/djangoapps/*/migrations/*

[report]
ignore_errors = True

exclude_lines =
   pragma: no cover
   raise NotImplementedError

[html]
title = edx-platform Python Test Coverage Report
directory = reports/cover

[xml]
output = reports/coverage.xml

[paths]
jenkins_source =
    /home/jenkins/workspace/edx-platform-unit-coverage
    /home/jenkins/workspace/edx-platform-test-subset

devstack_source =
    /edx/app/edxapp/edx-platform
