Skip to content

Commit

Permalink
[github] added memcached config and some php config
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Dec 19, 2023
1 parent 1de8d31 commit 297746f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
services:
memcached:
image: "memcached:${{ matrix.memcached-version }}"
ports:
- 11211:11211

steps:
- name: Checkout
Expand All @@ -39,6 +41,9 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
extensions: "json,memcached,apcu"
ini-values: date.timezone=UTC,memory_limit=-1
tools: pecl

- name: Get composer cache directory
id: composer-cache
Expand All @@ -59,3 +64,5 @@ jobs:

- name: Run Tests
run: php vendor/bin/phpunit
env:
MEMCACHED_HOST: 'localhost:11211'

0 comments on commit 297746f

Please sign in to comment.