Skip to content

Commit

Permalink
Performance tests : - Fix/compare performance with correct branch (#6…
Browse files Browse the repository at this point in the history
…6196)

* Target base branch instead of just trunk

* Update description

Co-authored-by: cbravobernal <[email protected]>
Co-authored-by: youknowriad <[email protected]>
  • Loading branch information
3 people authored and gutenbergplugin committed Oct 17, 2024
1 parent 4a7de72 commit f98cdf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm -v
- name: Compare performance with trunk
- name: Compare performance with base branch
if: github.event_name == 'pull_request'
run: ./bin/plugin/cli.js perf $GITHUB_SHA trunk --tests-branch $GITHUB_SHA
run: ./bin/plugin/cli.js perf $GITHUB_SHA ${{ github.base_ref }} --tests-branch $GITHUB_SHA

- name: Compare performance with current WordPress Core and previous Gutenberg versions
if: github.event_name == 'release'
Expand Down

0 comments on commit f98cdf7

Please sign in to comment.