Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcefda55

Browse files
committed
ENH: Add separate coverage for tests.
Separate out coverage for lines in tests (which should be 100%) versusthose in the library itself.
1 parent770b488 commitcefda55

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

‎.coveragerc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
source=
33
matplotlib
44
mpl_toolkits
5-
[report]
6-
omit =
7-
lib/matplotlib/tests/*
8-
lib/matplotlib/testing/*
9-
lib/mpl_toolkits/tests/*
105

6+
[report]
117
exclude_lines =
128
raise NotImplemented
139
def __str__

‎codecov.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,19 @@ coverage:
1111
if_not_found:success
1212
if_ci_failed:failure
1313
project:
14-
default:
14+
default:false
15+
library:
1516
target:auto
1617
if_no_uploads:error
1718
if_not_found:success
1819
if_ci_failed:failure
20+
paths:
21+
-"lib/matplotlib/(?!tests)(\w+/)+\.py$"
22+
-"lib/matplotlib/sphinxext/(?!tests)(\w+/)+\.py$"
23+
-"lib/mpl_toolkits/(?!tests)(\w+/)+\.py$"
24+
25+
tests:
26+
target:100%
27+
paths:"lib/.*/tests/.*"
1928

2029
comment:off

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp