Skip to content

Commit

Permalink
Move PHP versions up
Browse files Browse the repository at this point in the history
We should be compatible with 8.0to 8.2 and 8.3 should be an indicator.
  • Loading branch information
rdohms committed Sep 5, 2023
1 parent 29bbb6a commit ccecd35
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: none
tools: composer, cs2pr

Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ jobs:

strategy:
matrix:
php: [8.0, 8.1]
dependency-version: [prefer-lowest, prefer-stable]
php: [8.0, 8.1, 8.2]
dependency-version: [--prefer-lowest, --prefer-stable]
experimental: [false]

name: P${{ matrix.php }} - ${{ matrix.dependency-version }}
include:
- php: '8.3'
dependency-version: --prefer-stable
experimental: true

name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.experimental }}

steps:
- name: Checkout code
Expand All @@ -35,7 +41,7 @@ jobs:

- name: Install dependencies
run: |
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress
composer update ${{ matrix.dependency-version }} --prefer-dist --no-progress
- name: Execute Unit Tests
run: vendor/bin/phpunit

0 comments on commit ccecd35

Please sign in to comment.