Tests #141
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: | |
pull_request: ~ | |
push: ~ | |
schedule: | |
- cron: '0 9 * * 5' | |
jobs: | |
run: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-versions: ['8.1', '8.2', '8.3'] | |
experimental: [false] | |
fail-fast: false | |
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Install PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: ${{ matrix.php-versions }} | |
tools: 'composer:v2' | |
ini-values: error_reporting=E_ALL | |
extensions: pcov, mbstring, posix | |
- name: Install dependencies | |
run: composer update --prefer-dist --no-progress --no-suggest | |
- name: Run the tests | |
run: composer run tests | |
- name: Check tests quality | |
run: composer run testquality |