Remove blade directive requirement #537
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 Tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
php-tests: | |
runs-on: ${{ matrix.os }} | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
strategy: | |
matrix: | |
php: [8.0, 8.1] | |
laravel: [8.*] | |
statamic: [3.2.*] | |
dependency-version: [prefer-lowest, prefer-stable] | |
os: [ubuntu-20.04] | |
include: | |
- laravel: 8.* | |
framework: ^8.80 | |
testbench: ^6.0 | |
name: P${{ matrix.php }} - S${{ matrix.statamic }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v1 | |
- 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 | |
coverage: none | |
- name: Install dependencies | |
run: | | |
composer require "laravel/framework:${{ matrix.framework }}" "statamic/cms:${{ matrix.statamic }}" "orchestra/testbench:${{ matrix.testbench }}" ${{ matrix.additional-deps }} --no-interaction --no-update | |
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest | |
- name: Execute tests | |
run: vendor/bin/phpunit |