File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -315,10 +315,11 @@ jobs:
315315 run : |
316316 uv venv
317317 . .venv/bin/activate
318- uv pip install -e .
318+ uv pip install '.[mypyc]'
319+ uv pip install -r build-requirements.txt
319320 python ./misc/perf_compare.py master "$PR_HEAD_HASH" | tee results.txt
320321 {
321- printf 'result_run_%s<<EOF' "$SEQUENCE_NO"
322+ printf 'result_run_%s<<EOF\n ' "$SEQUENCE_NO"
322323 sed -ne '/===/,$ p' results.txt
323324 echo EOF
324325 } >>"$GITHUB_OUTPUT"
@@ -337,14 +338,16 @@ jobs:
337338
338339 bench-report :
339340 runs-on : ubuntu-latest
340- if : ${{ !github.event.issue.pull_request && needs.get-target.outputs.action == 'bench' }}
341+ if : |
342+ !github.event.issue.pull_request
343+ && needs.get-target.outputs.action == 'bench'
344+ && (github.event_name == 'issues' || github.event_name == 'issue_comment')
341345 needs : [get-target, bench]
342346 permissions :
343347 issues : write
344348
345349 steps :
346350 - name : Post results
347- if : ${{ github.event_name == 'issues' || github.event_name == 'issue_comment' }}
348351 uses : actions-cool/issues-helper@v3
349352 with :
350353 actions : create-comment
You can’t perform that action at this time.
0 commit comments