Fix TracerResource could not be converted to string #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: run-ci | |
on: | |
push: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
if: contains(github.event.head_commit.message, '!test') | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest] | |
php: [8.2] | |
laravel: [10.*] | |
include: | |
- laravel: 10.* | |
name: PHP-${{ matrix.php }} - Laravel-${{ matrix.laravel }} - OS-${{ matrix.os }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
tools: composer:v2 | |
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo | |
coverage: none | |
- 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 }}" --no-interaction --no-update | |
composer update --prefer-dist --no-interaction --optimize-autoloader | |
- name: Execute tests | |
run: vendor/bin/pest |