Update README.md #78
Workflow file for this run
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
on: | |
pull_request: | |
types: [opened, reopened, edited, synchronize] | |
jobs: | |
run: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
max-parallel: 15 | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-versions: ['7.2', '7.3', '7.4', '8.0' ] | |
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Install PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: ast, mbstring, pdo | |
ini-values: "date.timezone=UTC" | |
coverage: PCOV | |
pecl: true | |
- name: Check PHP Version | |
run: php -v | |
- name: Check PHP Extensions | |
run: php -m | |
- name: Check Composer Version | |
run: composer -V | |
- name: Install Project Dependencies | |
run: composer install --dev --prefer-dist --optimize-autoloader --no-progress | |
- name: Lint Source | |
run: composer lint | |
- name: Test Source | |
run: composer test | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@master | |
with: | |
name: coverage-report | |
path: build/coverage |