Skip to content

Replace per-day CarbonPeriod/spatie arithmetic with integer interval … #175

Replace per-day CarbonPeriod/spatie arithmetic with integer interval …

Replace per-day CarbonPeriod/spatie arithmetic with integer interval … #175

Workflow file for this run

name: Tests
on: [ push, pull_request ]
jobs:
build:
runs-on: 'ubuntu-latest'
strategy:
matrix:
php-versions: [ '8.3', '8.4', '8.5' ]
steps:
- uses: actions/checkout@v7
- name: Setup PHP with PCOV
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: pcov
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Install dependencies
run: composer update --prefer-dist --no-progress --no-interaction
- name: Dump Autoload
run: composer dump-autoload
- name: Run linter
run: ./vendor/bin/pint -v --test
- name: Run tests
run: php ./vendor/bin/pest -v --coverage-clover clover.xml