Skip to content

Fix how component html is loaded for livewire 3 and new assertions #78

Fix how component html is loaded for livewire 3 and new assertions

Fix how component html is loaded for livewire 3 and new assertions #78

Workflow file for this run

name: run-tests
on:
push:
branches: [production]
pull_request:
branches: [production]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.1, 8.2]
laravel: ["10.x"]
include:
- laravel: 10.x
testbench: 8.x
exclude:
- laravel: 10.x
php: 8.1
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- 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: 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 }}" "orchestra/testbench:${{ matrix.testbench }}" --dev --no-interaction --no-update
composer install --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit