Add #[CoversTrait]
#44
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 | |
on: | |
push: | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: ['8.3'] | |
phpunit: ['10', '11'] | |
name: "PHP ${{ matrix.php }} with PHPUnit ${{ matrix.phpunit }}" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install PHP ${{ matrix.php }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
ini-values: zend.assertions=1, error_reporting=-1, display_errors=On | |
tools: phpunit:${{ matrix.phpunit }} | |
coverage: xdebug | |
- name: Dump autoload | |
run: composer du | |
- name: Run tests | |
run: phpunit |