Skip to content

Commit a0aee9b

Browse files
committed
bot: Store None in the mapping from commit to coverage statistics when we couldn't analyze a commit
To avoid trying to analyze such commits multiple times
1 parent 11930d6 commit a0aee9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bot/code_coverage_bot/commit_coverage.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def generate(repo_dir: str) -> None:
8484
coverage = results.get(changeset["node"])
8585
if coverage is None:
8686
logger.info("No coverage found", changeset=changeset)
87+
commit_coverage[changeset["node"]] = None
8788
continue
8889

8990
commit_coverage[changeset["node"]] = {

0 commit comments

Comments
 (0)