Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
devcorrelator committed Feb 10, 2023
1 parent 1f8f418 commit fd2fe44
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2']
name: Test PHP ${{ matrix.php-version }}
php-version: ['7.4', '8.0', '8.1', '8.2', 'latest']
name: Test - PHP - ${{ matrix.php-version }}

steps:
- uses: actions/checkout@v3
Expand All @@ -35,15 +35,19 @@ jobs:

coverage-php:
runs-on: ubuntu-22.04
name: Coverage
strategy:
fail-fast: false
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2', 'latest']
name: Coverage - PHP - ${{ matrix.php-version }}

steps:
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
coverage: pcov

Expand All @@ -61,16 +65,20 @@ jobs:
verbose: true

coding-standard:
name: Coding Standard
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2', 'latest']
name: Coding Standard - PHP - ${{ matrix.php-version }}

steps:
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
coverage: none

Expand All @@ -85,8 +93,8 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2']
name: Static Analysis - PHP ${{ matrix.php-version }}
php-version: ['7.4', '8.0', '8.1', '8.2', 'latest']
name: Static Analysis - PHP - ${{ matrix.php-version }}

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit fd2fe44

Please sign in to comment.