Skip to content

CI : PHP 8.4

CI : PHP 8.4 #881

name: Update Coverage Infos
on:
push:
branches:
- master
jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.3']
name: PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }} - Execute All Tests With coverage
steps:
- name: Checkout
uses: actions/checkout@v4
- 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/pest --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)