Skip to content

Commit

Permalink
Rework benchmark GH action to use artifact for baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd committed Oct 30, 2023
1 parent d2b369d commit b146944
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/test-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,12 @@ jobs:
- name: "Install locked dependencies"
run: "composer install --no-interaction --no-progress"

- name: "Restore PHPBench cache"
uses: "actions/cache@v3"
- name: "Download phpbench benchmarks artifact"
uses: dawidd6/action-download-artifact@v2
with:
path: "var/phpbench"
key: "php-${{ matrix.php-version }}-1.x-phpbench-"
restore-keys: |
php-${{ matrix.php-version }}-1.x-phpbench-
- name: "Clean previous summary"
run: rm -rf ./var/phpbench/summary.txt
workflow: benchmark-baseline.yml
name: phpbench-baseline
path: ./var/phpbench/

- name: "Execute benchmarks"
id: init_comment
Expand Down

0 comments on commit b146944

Please sign in to comment.