File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 # Step 3: Install dependencies for PR branch
4343 - name : Install Composer dependencies
4444 run : |
45+ # Remove dependency artifacts that can leak across branch switches in CI
46+ git clean -fd -- composer.lock vendor
4547 composer install --prefer-dist --no-progress
4648
4749 # Step 4: Run benchmarks on PR branch
6567 # Step 6: Install dependencies for base branch
6668 - name : Install Composer dependencies (base)
6769 run : |
70+ # Ensure install uses only files from the checked out base branch
71+ git clean -fd -- composer.lock vendor
6872 composer install --prefer-dist --no-progress
6973
7074 # Step 7: Run benchmarks on base branch
8387 env :
8488 HEAD_REF : ${{ github.head_ref }}
8589
90+ # Step 8.1: Reinstall dependencies for PR branch
91+ - name : Install Composer dependencies (PR, comparison)
92+ run : |
93+ # Prevent base branch dependency artifacts from affecting PR comparison run
94+ git clean -fd -- composer.lock vendor
95+ composer install --prefer-dist --no-progress
96+
8697 # Step 9: Compare benchmarks
8798 - name : Compare benchmarks with baseline
8899 id : compare
You can’t perform that action at this time.
0 commit comments