Skip to content

Commit

Permalink
Hackity hack
Browse files Browse the repository at this point in the history
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
  • Loading branch information
Eric-Arellano committed May 20, 2022
1 parent 0d5c126 commit 2ba8935
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/python/pants/vcs/changed_integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ def repo() -> Iterator[str]:
with temporary_dir(root_dir=get_buildroot()) as worktree, environment_as(
GIT_CONFIG_GLOBAL="/dev/null"
):
# FIXME: Our CI is adding files like `.coverage.fv-az167-838.29971.396383`, which for some
# reason Pants is including in the `SpecsSnapshot` when running `count-loc`, even when
# adding `.coverage*` to `.gitignore. It causes tests to fail because `count-loc` thinks
# there are files to run on. This has only happened in CI.
coverage_files = list(Path().glob("coverage.*"))
for f in coverage_files:
f.unlink()

_run_git(["init"])
_run_git(["config", "user.email", "you@example.com"])
_run_git(["config", "user.name", "Your Name"])
Expand Down

0 comments on commit 2ba8935

Please sign in to comment.