Skip to content

Commit 6895b64

Browse files
author
Jerrod
authored
Adding 'include' term if multiple sources
based on a support ticket around multiple sources https://codecov.freshdesk.com/a/tickets/87
1 parent adb2521 commit 6895b64

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,19 @@ Below are some examples on how to include coverage tracking during your tests. C
4747

4848
You may need to configure a ``.coveragerc`` file. Learn more `here <http://coverage.readthedocs.org/en/latest/config.html>`_. Start with this `generic .coveragerc <https://gist.github.com/codecov-io/bf15bde2c7db1a011b6e>`_ for example.
4949

50-
We highly suggest adding `source` to your ``.coveragerc`` which solves a number of issues collecting coverage.
50+
We highly suggest adding `source` to your ``.coveragerc``, which solves a number of issues collecting coverage.
5151

5252
.. code-block:: ini
5353
5454
[run]
5555
source=your_package_name
56+
57+
If there are multiple sources, you instead should add 'include' to your ``.coveragerc``
58+
59+
.. code-block:: ini
60+
61+
[run]
62+
include=your_package_name/*
5663
5764
unittests
5865
---------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy