name: Testing Friendica
-on: [push, pull_request, pull_request_review]
+on: [push, pull_request]
jobs:
friendica:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- tools: pecl
- extensions: pdo_mysql, gd, zip, opcache, ctype, pcntl, ldap, apcu, memcached, redis, imagick
+ tools: pecl, composer:v1
+ extensions: pdo_mysql, gd, zip, opcache, ctype, pcntl, ldap, apcu, memcached, redis, imagick, memcache
coverage: xdebug
ini-values: apc.enabled=1, apc.enable_cli=1
MYSQL_DATABASE: test
MYSQL_PASSWORD: test
MYSQL_USER: test
+ REDIS_PORT: ${{ job.services.redis.ports[6379] }}
+ REDIS_HOST: 127.0.0.1
+ MEMCACHED_PORT: ${{ job.services.memcached.ports[11211] }}
+ MEMCACHE_PORT: ${{ job.services.memcached.ports[11211] }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
- file: clover.xml
\ No newline at end of file
+ file: clover.xml