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 May 31, 2020
1 parent fc2d9e4 commit 4a9ae67
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion build-support/bin/ci.py
Expand Up @@ -245,11 +245,21 @@ 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",
"--pytest-coverage-report=xml",
*sorted(targets),
],
self.v2_remote: [
"./pants.pex",
*_use_remote_execution(oauth_token_path or ""),
"test",
"--use-coverage",
"--pytest-coverage-report=xml",
*sorted(targets),
],
}[
Expand Down

0 comments on commit 4a9ae67

Please sign in to comment.