Skip to content

Merge pull request #182 from martin-helmich/chore/build-php-8.3 #51

Merge pull request #182 from martin-helmich/chore/build-php-8.3

Merge pull request #182 from martin-helmich/chore/build-php-8.3 #51

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/codeclimate-action@v3.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.codeClimateReporterID }}
with:
coverageCommand: ./vendor/bin/phpunit --coverage-clover=clover.xml
debug: true