Skip to content

add code covergage

add code covergage #84

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
uses: php-actions/composer@v6
with:
php_version: 8.0
version: 1
- name: PHPUnit tests
uses: php-actions/phpunit@v3
with:
bootstrap: vendor/autoload.php
configuration: phpunit.xml
php_version: 8.0
version: 10.0.*
args: --coverage-text
php_extensions: "xdebug"
coverage_clover: "coverage/clover.xml"