Skip to content

Change method and improve comments (example) #2373

Change method and improve comments (example)

Change method and improve comments (example) #2373

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: Validate composer.json and composer.lock 👀
run: composer validate
- name: Install Dependencies 🔧
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- 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)