Making sure that nothing is sent to treblle if config is not set corr… #146
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: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
php: [ 8.1, 8.2, 8.3 ] | |
laravel: [ 9.*, 10.* ] | |
exclude: | |
- php: 8.1 | |
laravel: 9.* | |
- php: 8.1 | |
laravel: 10.8 | |
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: json | |
coverage: none | |
- name: Install the dependencies | |
run: | | |
composer require "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-progress --no-update | |
composer update --no-progress --prefer-dist --no-interaction | |
- name: Execute the tests | |
run: vendor/bin/phpunit --testdox |