Skip to content

chore(deps-dev): update tomasvotruba/type-coverage requirement from >=2.2.0 <2.2.2 to >=2.2.0 <2.5.2 #90

chore(deps-dev): update tomasvotruba/type-coverage requirement from >=2.2.0 <2.2.2 to >=2.2.0 <2.5.2

chore(deps-dev): update tomasvotruba/type-coverage requirement from >=2.2.0 <2.2.2 to >=2.2.0 <2.5.2 #90

Workflow file for this run

name: run-tests
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
paths:
- '**.php'
- 'phpunit.xml'
- 'composer.json'
- 'composer.lock'
- 'testbench.yaml'
- 'workbench/**'
- '.github/workflows/run-tests.yml'
push:
paths:
- '**.php'
- 'phpunit.xml'
- 'composer.json'
- 'composer.lock'
- 'testbench.yaml'
- 'workbench/**'
- '.github/workflows/run-tests.yml'
permissions:
contents: read
concurrency:
group: run-tests-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.3, 8.4, 8.5]
# L11 dropped: require-dev laravel/pao ^1.0 hard-conflicts with laravel/framework <12.0.
laravel: [^12.0, ^13.0]
dependency-version: [prefer-lowest, prefer-stable]
testbench: [^10.0, ^11.0]
exclude:
- laravel: ^12.0
testbench: ^11.0
- laravel: ^13.0
testbench: ^10.0
name: PHP${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json
coverage: none
tools: composer:v2
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit