Skip to content

Commit

Permalink
chore: run all php-related jobs on all supported php versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dartui committed Apr 17, 2024
1 parent e232f6a commit 1d4368c
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ jobs:
phpcs:
name: PHP Coding Standards
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.4', '8.0', '8.1', 8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none
- name: Install Composer dependencies
Expand All @@ -22,13 +25,16 @@ jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.4', '8.0', '8.1', 8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none
- name: Install Composer dependencies
Expand All @@ -38,13 +44,16 @@ jobs:
phplint:
name: PHP Lint
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.4', '8.0', '8.1', 8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none
- name: Install Composer dependencies
Expand All @@ -56,7 +65,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.2']
php: ['7.4', '8.0', '8.1', 8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 1d4368c

Please sign in to comment.