Skip to content

Commit

Permalink
Remove obsolete workaround for bazel-contrib/rules_go#140
Browse files Browse the repository at this point in the history
  • Loading branch information
phst committed May 12, 2022
1 parent 3252a42 commit 2631883
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,7 @@ def compdb(self) -> None:
@target
def coverage(self) -> None:
"""Generates a coverage report."""
# Exclude Gazelle because the Go output format is incompatible with
# genhtml. This exclusion could be removed once
# https://github.com/bazelbuild/rules_go/issues/140 is fixed.
output = self._bazel('coverage', ['//...', '-//gazelle/...'],
capture_stdout=True)
output = self._bazel('coverage', ['//...'], capture_stdout=True)
files = re.findall(r'^ (/.+/coverage\.dat)$', output, re.MULTILINE)
if not files:
raise FileNotFoundError('no coverage files generated')
Expand Down

0 comments on commit 2631883

Please sign in to comment.