Skip to content

Commit f6d7704

Browse files
committed
[github] added memcached config and some php config
1 parent 4eca424 commit f6d7704

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
services:
2929
memcached:
3030
image: "memcached:${{ matrix.memcached-version }}"
31+
ports:
32+
- 11211:11211
3133

3234
steps:
3335
- name: Checkout
@@ -39,6 +41,9 @@ jobs:
3941
uses: shivammathur/setup-php@v2
4042
with:
4143
php-version: "${{ matrix.php-version }}"
44+
extensions: "json,memcached,apcu"
45+
ini-values: date.timezone=UTC,memory_limit=-1
46+
tools: pecl
4247

4348
- name: Get composer cache directory
4449
id: composer-cache
@@ -59,3 +64,5 @@ jobs:
5964

6065
- name: Run Tests
6166
run: php vendor/bin/phpunit
67+
env:
68+
MEMCACHED_HOST: 'localhost:11211'

0 commit comments

Comments
 (0)