File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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 \
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 \
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 \
You can’t perform that action at this time.
0 commit comments