Skip to content

Commit

Permalink
.coveragerc: use include instead of multiple sources (joke2k#183)
Browse files Browse the repository at this point in the history
This will generate a better coverage.xml file, which makes it easier for
codecov hopefully.

Old:

    <sources>
            <source>…/Vcs/django-configurations/configurations</source>
            <source>…/Vcs/django-configurations/tests</source>
    </sources>
    <packages>
            <package branch-rate="0.7178" complexity="0" line-rate="0.8902" name=".">

New:
    <sources>
            <source>…/Vcs/django-configurations</source>
    </sources>
    <packages>
            <package branch-rate="0.712" complexity="0" line-rate="0.8126" name="configurations">

Fixes jazzband/django-configurations@d364802#commitcomment-24826518.
  • Loading branch information
blueyed authored Oct 7, 2017
1 parent e3b547f commit 51e2d3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[run]
source = configurations,tests
source = .
include = configurations/*,tests/*
branch = 1

0 comments on commit 51e2d3e

Please sign in to comment.