Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gordalina committed Nov 15, 2024
1 parent cfbc43c commit 2e9d5ad
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,23 @@ jobs:
strategy:
max-parallel: 15
matrix:
operating-system: [ubuntu-22.04, macos-12]
php-version: ["8.1", "8.2"]
operating-system: [ubuntu-latest, macos-latest]
php-version: ["8.1", "8.2", "8.3"]
allow-failure: [false]
include:
- php-version: 8.3
operating-system: ubuntu-22.04
- php-version: 8.4
operating-system: ubuntu-latest
allow-failure: true
- php-version: 8.3
operating-system: macos-12
allow-failure: true
- php-version: 8.3
operating-system: macos-13
- php-version: 8.4
operating-system: macos-latest
allow-failure: true
name: Test PHP ${{ matrix.php-version }} on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@master
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: apcu, mbstring, pcov
Expand Down Expand Up @@ -119,9 +116,9 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Setup PHP
uses: shivammathur/setup-php@master
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3

- name: Install Dependencies
run: |
Expand Down

0 comments on commit 2e9d5ad

Please sign in to comment.