Skip to content

php8.4 support #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
php: ['8.1', '8.2', '8.3']
pest: ['2.*', '3.*']
php: ['8.1', '8.2', '8.3', '8.4']
pest: ['2.0', '3.0']
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- php: '8.1'
pest: '3.*'
pest: '3.0'

name: PHP ${{ matrix.php }} - PEST ${{ matrix.pest }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
name: PHP ${{ matrix.php }} - PEST ^${{ matrix.pest }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}

steps:
- name: Checkout
Expand All @@ -30,13 +30,14 @@ jobs:

- name: Install PHP dependencies
run: |
composer require "pestphp/pest:${{ matrix.pest }}" --no-interaction --no-update
composer require "pestphp/pest:^${{ matrix.pest }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi

- name: Unit Tests
run: composer test:unit -- --coverage-clover ./coverage.xml

- name: Upload coverage reports to Codecov
if: ${{matrix.os == 'ubuntu-latest' && matrix.php == '8.1' && matrix.pest == '2.0' && matrix.dependency-version == 'prefer-stable'}}
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
Loading