mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 03:00:56 +00:00
in shame.py do not complain about missing targets (#9032)
PR CI only runs a small subset of all tests. It is very likely a file we didn't found in the PR is just not tested in PR.
This commit is contained in:
12
bin/shame.py
12
bin/shame.py
@@ -42,15 +42,9 @@ if len(newlyIntroduced) > 0:
|
|||||||
name, size = parseFile(f)
|
name, size = parseFile(f)
|
||||||
markdown += f"| `{name}` | {size}b |\n"
|
markdown += f"| `{name}` | {size}b |\n"
|
||||||
|
|
||||||
removed = old - new
|
# do not log removed targets
|
||||||
if len(removed) > 0:
|
# PRs only run a small subset of builds, so removed targets are not meaningful
|
||||||
markdown += "\n## Removed Targets\n\n"
|
# since they are very likely to just be not ran in PR CI
|
||||||
# create a table
|
|
||||||
markdown += "| File | Size |\n"
|
|
||||||
markdown += "| ---- | ---- |\n"
|
|
||||||
for f in removed:
|
|
||||||
name, size = parseFile(f)
|
|
||||||
markdown += f"| `{name}` | {size}b |\n"
|
|
||||||
|
|
||||||
both = old & new
|
both = old & new
|
||||||
degradations = []
|
degradations = []
|
||||||
|
|||||||
Reference in New Issue
Block a user