Skip to content

Commit 5e6a63e

Browse files
committed
Update ci.yml
1 parent 6474235 commit 5e6a63e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ jobs:
7979
- name: Generate baseline snapshot
8080
run: vendor/bin/testbench benchmark --ci --iterations=5000 --rounds=100 --snapshot
8181

82+
- name: Checkout BenchmarkCommand from PR
83+
run: |
84+
git fetch origin --depth=1 ${{ github.event.pull_request.head.sha }}
85+
git checkout ${{ github.event.pull_request.head.sha }} -- workbench/app/Console/Commands/BenchmarkCommand.php
86+
8287
- name: Save baseline snapshot
8388
run: cp benchmark-snapshot.json ${{ runner.temp }}/benchmark-snapshot.json
8489

0 commit comments

Comments
 (0)