Skip to content

Commit

Permalink
Merge branch 'main' into sklearn_depend
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed May 27, 2022
2 parents 9819003 + a503691 commit adbb8c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/scripts/asv_markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ def is_float(element):

def to_markdown(data):

preamble = """# {tests} [(diff)](https://github.com/dedupeio/dedupe/compare/{base_commit}...{head_commit})
preamble = """# {tests} ([diff](https://github.com/dedupeio/dedupe/compare/{base_commit}...{head_commit})):
| | before | after | ratio | benchmark |
|- |-: |-: |-: |-|
|| `{base_branch}` | `{head_branch}` | ||\n""".format(
|- |-: |-: |-: |-|\n""".format(
**data
)

Expand All @@ -42,7 +41,7 @@ def to_markdown(data):
def parse(asv_input):

result = re.match(
r"^\n(?P<tests>.*?)\n before after ratio\n \[(?P<base_commit>.+)\] \[(?P<head_commit>.+)\]\n <(?P<base_branch>.+)> <(?P<head_branch>.+)>\n(?P<raw_comparisons>.*)",
r"^\n(?P<tests>.*?):\n\n before after ratio\n \[(?P<base_commit>.+)\] \[(?P<head_commit>.+)\]\n <(?P<base_branch>.+)> <(?P<head_branch>.+)>\n(?P<raw_comparisons>.*)",
asv_input,
re.DOTALL,
)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmark-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ jobs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: ENV_VARS["BENCH_OUTPUT"] + '\n[(logs)](' + run_url + ')'
body: ENV_VARS["BENCH_OUTPUT"] + '\n\n[(logs)](' + run_url + ')'
})

0 comments on commit adbb8c8

Please sign in to comment.