Skip to content

Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 #65

Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0

Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 #65

Workflow file for this run

name: Run tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ["8.1", "8.2", "8.3"]
laravel: ["10.*", "11.*"]
stability: ["prefer-stable"]
include:
- laravel: "10.*"
testbench: "^8"
symfony: "^6.2"
collision: "^7"
phpunit-config: "phpunit.xml"
- laravel: "11.*"
testbench: "^9"
symfony: "^7"
collision: "^8"
phpunit-config: "phpunit.xml"
exclude:
- laravel: "11.*"
php: "8.1"
name: "P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: pcov
tools: composer:2.x
- name: Setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:${{ matrix.symfony }}" "nunomaduro/collision:${{ matrix.collision }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit -c ${{ matrix.phpunit-config }}