Skip to content

Update coverage work #2415

Update coverage work

Update coverage work #2415

Workflow file for this run

name: Code Coverage
on: [push]
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP 🔧
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: pcov
tools: composer:v2
- name: Install Dependencies 🔧
run: composer install
- name: Execute tests (Unit and Feature tests) via PHPUnit 🧪
run: vendor/bin/phpunit --coverage-clover=coverage.xml
- name: Submit code coverage report 🔭
run: bash <(curl -s https://codecov.io/bash)