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 f079cdc commit 5c9b579
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ jobs:
uses: "actions/cache@v3"
with:
path: "var/phpbench"
key: "php-${{ matrix.php-version }}-1.x-phpbench-"
key: "php-${{ matrix.php-version }}-1.x-phpbench-${{ hashFiles('**/phpbench/**/*.xml') }}"
restore-keys: |
php-${{ matrix.php-version }}-1.x-phpbench-
- name: "Clean previous summary"
run: rm -rf ./var/phpbench/summary.txt
run: |
rm -f ./var/phpbench/summary.txt
- name: "Execute benchmarks"
id: init_comment
Expand Down

0 comments on commit 5c9b579

Please sign in to comment.