Laravel 10 Support & Github Actions Integration #8
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: Test Suite | |
on: [ push, pull_request ] | |
jobs: | |
tests: | |
runs-on: 'ubuntu-latest' | |
strategy: | |
fail-fast: false | |
matrix: | |
php-versions: [ '8.1' ] | |
dependency-version: [ prefer-lowest, prefer-stable ] | |
name: Php-${{ matrix.php }} - ${{ matrix.dependency-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
coverage: xdebug | |
- name: Install PHP Dependencies | |
run: composer update | |
- name: Run Tests | |
run: vendor/bin/phpunit --coverage-text |