Skip to content

Commit 598ab72

Browse files
Fix Spanner coverage reporting. (#4169)
1 parent 99c4498 commit 598ab72

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

spanner/.coveragerc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[run]
22
branch = True
3+
omit =
4+
*/gapic/*.py
5+
*/proto/*.py
36

47
[report]
58
fail_under = 100

spanner/nox.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def unit_tests(session, python_version):
4242
'py.test',
4343
'--quiet',
4444
'--cov=google.cloud.spanner',
45+
'--cov=google.cloud.spanner_v1',
4546
'--cov=tests.unit',
4647
'--cov-append',
4748
'--cov-config=.coveragerc',

0 commit comments

Comments
 (0)