File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 5
5
types : [opened, reopened, synchronize, labeled]
6
6
workflow_dispatch :
7
7
8
+ env :
9
+ PR_HEAD_LABEL : ${{ github.event.pull_request.head.label }}
10
+
8
11
jobs :
9
12
benchmark :
10
13
if : ${{ contains( github.event.pull_request.labels.*.name, 'run-benchmark') && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
49
52
# ID this runner
50
53
asv machine --yes
51
54
echo "Baseline: ${{ github.event.pull_request.base.sha }} (${{ github.event.pull_request.base.label }})"
52
- echo "Contender: ${GITHUB_SHA} (${{ github.event.pull_request.head.label }} )"
55
+ echo "Contender: ${GITHUB_SHA} ($PR_HEAD_LABEL )"
53
56
# Run benchmarks for current commit against base
54
57
ASV_OPTIONS="--split --show-stderr --factor $ASV_FACTOR"
55
58
asv continuous $ASV_OPTIONS ${{ github.event.pull_request.base.sha }} ${GITHUB_SHA} \
You can’t perform that action at this time.
0 commit comments