Skip to content

Commit

Permalink
also output the measurement table with markdown (#379)
Browse files Browse the repository at this point in the history
Previously when providing `--markdown` flag, only the tests table would be
formatted in Markdown format.

With this patch, both the tests and the measurements table are formatted using
markdown.

Follow-up to #372.
  • Loading branch information
mxinden authored Apr 14, 2024
1 parent 2a2534a commit d2b0777
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions interop.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ def get_letters(result):

if len(self._measurements) > 0:
t = prettytable.PrettyTable()
if self._markdown:
t.set_style(prettytable.MARKDOWN)
t.hrules = prettytable.ALL
t.vrules = prettytable.ALL
rows = {}
Expand Down

0 comments on commit d2b0777

Please sign in to comment.