Skip to content

Commit aadf633

Browse files
committed
ci(workflows): adjust dependency installation order in test workflow
- Swap the order of 'composer install' and 'composer require' commands in the GitHub Actions test workflow. - Ensure 'composer require' executes after the initial dependencies are installed. - Improve dependency handling consistency in the CI pipeline.
1 parent 31740b9 commit aadf633

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ jobs:
5959
- name: Install dependencies
6060
run: |
6161
composer remove "brainmaestro/composer-git-hooks" --no-interaction --no-scripts --dev --ansi -v
62+
composer remove "guanguans/soar-php" --no-interaction --no-scripts --ansi -v
63+
composer require guanguans/soar-php --prefer-source --no-interaction --no-scripts --ansi -v
6264
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update --ansi -v
63-
composer install --prefer-dist --no-interaction --no-scripts --ansi -v
64-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-scripts --ansi -W -v
65+
composer update --${{ matrix.dependency-version }} --prefer-source --no-interaction --no-scripts --ansi -W -v
6566
6667
- name: Execute tests
6768
run: composer test-coverage

0 commit comments

Comments
 (0)