Skip to content

Test PHP 8.3

Test PHP 8.3 #865

name: Update Coverage Infos
on:
push:
branches:
- master
jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.2']
name: PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }} - Execute All Tests With coverage
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, json, pdo, pdo_sqlite, dom
coverage: xdebug
- name: Check PHP Version
run: php -v
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run test suite
run: vendor/bin/phpunit --coverage-clover clover.xml
- name: Export to Codacy
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
run: bash <(curl -Ls https://coverage.codacy.com/get.sh)