Empty DOM Queries #291
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: CI | |
on: pull_request | |
jobs: | |
tests: | |
name: PestPHP Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-versions: ['8.1', '8.2', '8.3', '8.4'] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: Run tests | |
run: composer test | |
- name: Run integration tests | |
run: composer test-integration | |
tests84: | |
name: PestPHP Tests Running only on PHP >= 8.4 | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-versions: [ '8.4' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: Run tests | |
run: composer test-php84 | |
stanAndCs: | |
name: Static Analysis (phpstan) and Code Style (PHP CS Fixer) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
coverage: none | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: Run PHPStan | |
run: composer stan | |
- name: Run PHP CS Fixer | |
run: composer cs |