Upgrade to PHP8.1 #177
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
name: Quality Assurance | |
on: | |
pull_request | |
jobs: | |
phpunit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
extensions: zip | |
coverage: none | |
- uses: ramsey/composer-install@v2 | |
- run: vendor/bin/phpunit | |
phpstan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
extensions: zip | |
coverage: none | |
- uses: ramsey/composer-install@v2 | |
- run: vendor/bin/phpstan analyse --error-format=github | |
phpcs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
extensions: zip | |
coverage: none | |
- uses: ramsey/composer-install@v2 | |
- run: vendor/bin/phpcs --warning-severity=0 | |
e2e: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
php: [8.1, 8.2, 8.3] | |
dependencies: [locked] | |
include: | |
- os: ubuntu-latest | |
php: 8.1 | |
dependencies: lowest | |
- os: ubuntu-latest | |
php: 8.2 | |
dependencies: lowest | |
- os: ubuntu-latest | |
php: 8.3 | |
dependencies: lowest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: zip | |
coverage: none | |
- uses: ramsey/composer-install@v2 | |
with: | |
dependency-versions: ${{ matrix.dependencies }} | |
composer-options: "--no-dev --optimize-autoloader --prefer-dist" | |
- run: php bdi | |
- run: php bdi detect | |
- run: php bdi browser:google-chrome -vvv | |
- run: php bdi browser:firefox -vvv | |
- run: php bdi driver:chromedriver -vvv | |
- run: php bdi driver:geckodriver -vvv |