Skip to content

Made library compatible with PHP 8.4 #82

Made library compatible with PHP 8.4

Made library compatible with PHP 8.4 #82

name: Unit Test Coverage Report
on:
- push
- fork
- pull_request
jobs:
coverage:
runs-on: ubuntu-latest
name: "Generate unit test coverage report for PHP ${{ matrix.php-version }}"
env:
XDEBUG_MODE: coverage
steps:
- uses: actions/checkout@v2
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
extensions: xdebug
tools: composer:v2
- run: composer install --ignore-platform-req=php
shell: bash
- run: composer test:coverage:xml
shell: bash
- uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: 203d856fbc3ebebe66cc94cccde4429973298c7fb919df64a1557850cc9c8345
with:
coverageLocations: coverage.xml:clover
- uses: actions/upload-artifact@v2
with:
name: coverage.xml
path: coverage.xml