Skip to content

Merge pull request #189 from martin-helmich/chore/php-8.4 #56

Merge pull request #189 from martin-helmich/chore/php-8.4

Merge pull request #189 from martin-helmich/chore/php-8.4 #56

Workflow file for this run

name: PHP code coverage reporter
on:
push:
branches:
- master
jobs:
test-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
extensions: mbstring, intl, json
coverage: pcov
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.codeClimateReporterID }}
with:
coverageCommand: ./vendor/bin/phpunit --coverage-clover=clover.xml
debug: true