Skip to content

Commit

Permalink
Test on matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
alphp committed Jan 26, 2024
1 parent 4c13c94 commit 5128044
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/php.yml
Expand Up @@ -12,10 +12,24 @@ permissions:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ${{ matrix.operating-system }}

strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3']

name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}

steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: intl

- name: Validate composer.json and composer.lock
run: composer validate --strict
Expand Down

0 comments on commit 5128044

Please sign in to comment.