Debug WIP: Cleanup & changed used github token

This commit is contained in:
Allan Jeremy 2022-05-24 19:44:23 +03:00
parent d6c91d7dfc
commit 3d879994af
3 changed files with 4 additions and 4 deletions

View file

@ -90,4 +90,4 @@ jobs:
fail-on-alert: true
comment-on-alert: true
comment-always: true
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}

View file

@ -84,4 +84,4 @@ jobs:
fail-on-alert: true
comment-on-alert: true
comment-always: true
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}

View file

@ -93,10 +93,10 @@ for i in "${!TOTALS_ARRAY[@]}"; do
if [[ $OPS_PER_SEC =~ ^[+-]?[0-9]*$ ]]
then # $OPS_PER_SEC is integer
printf "%s#%s x %.0f %s ±%s (%d runs sampled)(roblox-cli version %s)\n" \
printf "%s#%s x %.0f %s ±%s (%d runs sampled)(%s)\n" \
"$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS" "$PYTHON_VERSION"
else # $OPS_PER_SEC is float
printf "%s#%s x %.10f %s ±%s (%d runs sampled)(roblox-cli version %s)\n" \
printf "%s#%s x %.10f %s ±%s (%d runs sampled)(%s)\n" \
"$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS" "$PYTHON_VERSION"
fi