Skip to content

Commit 5145f1b

Browse files
committed
feat: Add xDebug in Github Workflow tests.yaml
1 parent 5f83116 commit 5145f1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
uses: shivammathur/setup-php@v2
4343
with:
4444
php-version: ${{ matrix.php }}
45-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd, redis, igbinary, msgpack, lzf, zstd, lz4, memcached, gmp, :php-psr
45+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd, redis, igbinary, msgpack, lzf, zstd, lz4, memcached, gmp, xml, xdebug, :php-psr
4646
ini-values: error_reporting=E_ALL
4747
tools: composer:v2
48-
coverage: none
48+
coverage: xdebug
4949
env:
5050
REDIS_CONFIGURE_OPTS: --enable-redis --enable-redis-igbinary --enable-redis-msgpack --enable-redis-lzf --with-liblzf --enable-redis-zstd --with-libzstd --enable-redis-lz4 --with-liblz4
5151
REDIS_LIBS: liblz4-dev, liblzf-dev, libzstd-dev
@@ -96,7 +96,7 @@ jobs:
9696
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
9797

9898
- name: Execute tests
99-
run: php artisan test --parallel --configuration="phpunit.xml" --no-coverage
99+
run: php artisan test --parallel --configuration="phpunit.xml" --coverage-clover=build/logs/clover.xml
100100
env:
101101
DB_CONNECTION: sqlite
102102
DB_DATABASE: ":memory:"

0 commit comments

Comments
 (0)