Skip to content

Merge pull request #19 from packagist/push-ovmxlwppyywq #78

Merge pull request #19 from packagist/push-ovmxlwppyywq

Merge pull request #19 from packagist/push-ovmxlwppyywq #78

Workflow file for this run

name: "Continuous Integration"
on:
pull_request:
push:
branches:
- master
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
phpunit:
name: Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install PHP ${{ matrix.php }}
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
with:
coverage: "none"
ini-values: "memory_limit=-1, phar.readonly=0"
php-version: ${{ matrix.php }}
- name: "Install dependencies"
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
with:
dependency-versions: highest
composer-options: "-o --prefer-dist"
- name: "Run PHPUnit"
run: ./vendor/bin/phpunit
- name: "Run PHPStan"
run: ./vendor/bin/phpstan analyze