Allow includeStacktraces to be used. (#28) #40
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
name: Tests on PHP ${{ matrix.php }} ${{ matrix.dependencies }} | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
php: ['8.1'] | |
dependencies: ['', '--prefer-lowest --prefer-stable'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2.3.4 | |
- uses: shivammathur/setup-php@2.9.0 | |
with: | |
php-version: ${{ matrix.php }} | |
- name: Install dependencies | |
run: composer update --no-interaction --prefer-dist ${{ matrix.dependencies }} | |
- name: Configure PHPUnit problem matchers | |
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" | |
- name: Run tests | |
run: ./vendor/bin/phpunit |