Skip to content

Commit af09ff4

Browse files
committed
chore: Install Couchbase PHP extension in CI workflow
This commit adds steps to the continuous integration workflow to install and enable the Couchbase PHP extension. The extension is installed using the `pecl install` command, and then enabled by appending the `extension=couchbase.so` line to the PHP configuration file. This ensures that the necessary extension is available for the project's functionality. Closes #123
1 parent 48bba7d commit af09ff4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ jobs:
3232
- name: Install dependencies
3333
run: composer install --prefer-dist --no-progress --no-suggest --optimize-autoloader
3434

35+
- name: Install Couchbase PHP extension
36+
run: sudo pecl install couchbase
37+
38+
- name: Enable Couchbase PHP extension
39+
run: echo "extension=couchbase.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
40+
41+
3542
- name: Run Migration
3643
run: php artisan migrate --force
3744

0 commit comments

Comments
 (0)