Improve an error message that should never be displayed (#109) #183
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: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
PHPUnit: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [7.2, 7.4, 8.1] | |
steps: | |
- name: Configure PHP version | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
tools: composer:v2 | |
- uses: actions/checkout@v4 | |
- name: Cache Composer Dependencies | |
uses: actions/cache@v3 | |
with: | |
path: vendor/ | |
key: composer-${{ matrix.php }}-${{ hashFiles('composer.*') }} | |
restore-keys: | | |
composer-${{ matrix.php }}-${{ github.ref }} | |
composer-${{ matrix.php }}- | |
- run: | | |
composer update --no-interaction --no-scripts --no-progress | |
composer show | |
- run: vendor/bin/phpunit |