Skip to content

Commit

Permalink
Merge pull request #376 from thephpleague/php8.3
Browse files Browse the repository at this point in the history
Update CI config.
  • Loading branch information
ADmad authored Dec 28, 2023
2 parents c5f76fe + cfe2731 commit f5ea9f6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
coding-style:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
Expand All @@ -25,13 +25,13 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2']
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3']
prefer-lowest: ['']
include:
- php-version: '7.2'
prefer-lowest: 'prefer-lowest'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: shivammathur/setup-php@v2
with:
Expand All @@ -49,23 +49,23 @@ jobs:
- name: PHPUnit
run: |
if [[ ${{ matrix.php-version }} == '8.0' ]]; then
if [[ ${{ matrix.php-version }} == '8.3' ]]; then
vendor/bin/phpunit --verbose --coverage-clover=coverage.xml
else
vendor/bin/phpunit
fi
- name: Code Coverage Report
if: matrix.php-version == '8.0'
if: matrix.php-version == '8.3'
uses: codecov/codecov-action@v3

psalm:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.3'
extensions: gd, imagick
tools: vimeo/psalm:5
- name: psalm
Expand Down

0 comments on commit f5ea9f6

Please sign in to comment.