Merge pull request #27 from phpbb/change/jiraProjectKey #11
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: | |
push: | |
branches: | |
- master | |
- update/symfony_6.4 | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- php: '8.1' | |
- php: '8.2' | |
- php: '8.3' | |
name: PHP ${{ matrix.php }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 100 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: dom, curl, libxml, mbstring, zip, pcntl, intl, gd, exif, iconv | |
coverage: none | |
- name: Setup environment for dev-hooks | |
env: | |
PHP_VERSION: ${{ matrix.php }} | |
run: | | |
php composer.phar install --no-interaction | |
- name: Run unit tests | |
run: | | |
php vendor/bin/phpunit --verbose --stop-on-error |