You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because GitHub markdown treats it as HTML tag. So we need to escape angle brackets like this: Parser<AlertCategoryID> -> Parser\<AlertCategoryID>
# Workaround for GitHub Markdown (see https://github.com/benchmark-action/github-action-benchmark/issues/167)
- name: Names Workaround
working-directory: ${{env.BUILD_DIR}}/benchmarks
run: sed -i 's/</\</g;s/>/\>/g' benchmark-results.json
I use Linux machines for benchmark tasks. If you use different platform you should adapt this. For example, on macOS you have to use gsed (GNU sed) with same command line arguments or use native sed (BSD sed) with other arguments, because BSD sed has different options and behaviour.
UPD: Unfortunately, this workaround also affects alert comments and they look ugly :(
This got fixed by #218 and got released in v1.19.2. Now we use the same approach for generating comment, alert and summary. Therefore they all should be working fine :)
If you have angle brackets in the case name, it is displayed incomplete. It looks like that:
Job output
Summary
This is because GitHub markdown treats it as HTML tag. So we need to escape angle brackets like this:
Parser<AlertCategoryID>
->Parser\<AlertCategoryID>
See also:
The text was updated successfully, but these errors were encountered: