Skip to content

Commit 751c4e6

Browse files
committed
fix: Update PHP setup action and specify benchmark test path in workflow
1 parent 339064a commit 751c4e6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
# Step 2: Setup PHP
2121
- name: Setup PHP
22-
uses: shivammathur/setup-php@v2
22+
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f
2323
with:
2424
php-version: '8.4'
2525
extensions: zip, curl, mbstring, xml
@@ -34,7 +34,7 @@ jobs:
3434
# Step 4: Run benchmarks on PR branch
3535
- name: Run benchmarks on PR branch
3636
run: |
37-
./vendor/bin/phpbench run \
37+
./vendor/bin/phpbench run tests/Benchmark \
3838
--report=default \
3939
--tag=pr \
4040
--retry-threshold=5 \
@@ -58,7 +58,7 @@ jobs:
5858
# Step 7: Run benchmarks on base branch
5959
- name: Run benchmarks on base branch
6060
run: |
61-
./vendor/bin/phpbench run \
61+
./vendor/bin/phpbench run tests/Benchmark \
6262
--report=default \
6363
--tag=base \
6464
--retry-threshold=5 \
@@ -74,7 +74,7 @@ jobs:
7474
- name: Compare benchmarks with baseline
7575
id: compare
7676
run: |
77-
./vendor/bin/phpbench run \
77+
./vendor/bin/phpbench run tests/Benchmark \
7878
--report=aggregate \
7979
--ref=base \
8080
--retry-threshold=5 \

0 commit comments

Comments
 (0)