Skip to content

Commit

Permalink
Run code coverage on v2 unit tests. (#9919)
Browse files Browse the repository at this point in the history
### Problem

V2 pytest code coverage doesn't have enough tests so it is fragile.

### Solution

Long term we should have tests, but for now, just enabling it and dogfooding it will expose issues.

### Result

Helps to prevent regressions like: #9914. #10299 follows up to send this somewhere.
  • Loading branch information
asherf committed Jul 9, 2020
1 parent cb44a71 commit 5144ece
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pants.travis-ci.toml
Expand Up @@ -20,3 +20,9 @@ process_execution_local_parallelism = "%(travis_parallelism)s"
[python-setup]
# TODO: See https://github.com/pantsbuild/pants/issues/9964
resolver_jobs = 2

[test]
use_coverage = true

[coverage-py]
report=["raw"]

0 comments on commit 5144ece

Please sign in to comment.