-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] Comment SDK size on every commit #3339
Conversation
SDK Size
|
74ee608
to
252f1b7
Compare
name: Metrics | ||
name: SDK Performance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's because on the Actions
tab it was not possible to determine where was the Performance
and where was the Size
metrics.
if sh('git status -s', log: false).to_s.empty? | ||
pr_comment_required = false | ||
UI.important('No changes in performance benchmarks. Skipping commit and comment.') | ||
else | ||
sh('git add -A') | ||
sh("git commit -m 'Update #{xcmetrics_path}: #{current_branch}'") | ||
sh('git push') | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to eliminate the useless branch metrics in the baseline json file. Basically now performance metrics will keep only the benchmark, similar to size metrics.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! 👌
🔗 Issue Links
Resolve https://stream-io.atlassian.net/browse/PBE-4314
📺 Showcase