Skip to content

Commit afe16b7

Browse files
committed
ci: add step to install PHP dependencies in workflow
1 parent 4629481 commit afe16b7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,12 @@ jobs:
112112
# php-version: ${{ matrix.php-version }}
113113
version: latest
114114

115-
# Step 3: Run the actual tests.
115+
# Step 3: Install PHPUnit and run the actual tests.
116116
# This command is typically defined in your `composer.json` or `package.json`.
117117
# It executes the PHPUnit test suite.
118+
- name: Install PHP dependencies
119+
run: composer install --prefer-dist --no-interaction
120+
118121
- name: Run tests with PHPUnit with coverage report
119122
run: vendor/bin/phpunit --coverage-clover=coverage.xml
120123

0 commit comments

Comments
 (0)