Skip to content

Commit

Permalink
Update matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
gordalina committed Jul 17, 2024
1 parent 618581e commit 46ad975
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
php-cs-fixer:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
run: bin/php-cs-fixer fix --verbose --diff --dry-run Mixpanel/

php-stan:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -76,18 +76,30 @@ jobs:
strategy:
max-parallel: 15
matrix:
operating-system: [ubuntu-20.04, macOS-10.15]
php-versions: ["8.0", "8.3"]
symfony-versions: ["5.4", "6.4", "7.1"]
name: test php/${{ matrix.php-versions }} symfony/${{ matrix.symfony-versions }} on ${{ matrix.operating-system }}
# latest php on all symfony versions
operating-system: [ubuntu-22.04]
php-version: ["8.3"]
symfony-version: ["5.4", "6.4", "7.1"]
include:
# minimum versions
- php-version: 8.0
operating-system: ubuntu-22.04
symfoy-version: "5.4"
- php-version: 8.0
operating-system: ubuntu-22.04
symfoy-version: "6.4"
- php-version: 8.3
operating-system: macos-12
symfoy-version: "7.1"
name: test php/${{ matrix.php-version }} symfony/${{ matrix.symfony-version }} on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@main
with:
php-version: ${{ matrix.php-versions }}
php-version: ${{ matrix.php-version }}
extensions: mbstring, pcov
coverage: pcov

Expand All @@ -114,7 +126,7 @@ jobs:
- name: Set Symfony version
run: |
composer update --prefer-dist --no-interaction
composer config extra.symfony.require ${{ matrix.symfony-versions }}
composer config extra.symfony.require ${{ matrix.symfony-version }}
- name: Install Dependencies
run: composer install --prefer-dist --no-interaction
Expand Down

0 comments on commit 46ad975

Please sign in to comment.