Skip to content

Commit

Permalink
Run code coverage on v2 unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
asherf committed Jun 21, 2020
1 parent c7b1db6 commit 4ac9e4a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build-support/bin/ci.py
Expand Up @@ -245,11 +245,19 @@ def pants_command(
*PYTEST_PASSTHRU_ARGS,
],
self.v1_chroot: ["./pants.pex", "test.pytest", *sorted(targets), *PYTEST_PASSTHRU_ARGS],
self.v2_local: ["./pants.pex", "--no-v1", "--v2", "test", *sorted(targets)],
self.v2_local: [
"./pants.pex",
"--no-v1",
"--v2",
"test",
"--use-coverage",
*sorted(targets),
],
self.v2_remote: [
"./pants.pex",
*_use_remote_execution(oauth_token_path or ""),
"test",
"--use-coverage",
*sorted(targets),
],
}[
Expand Down

0 comments on commit 4ac9e4a

Please sign in to comment.