Skip to content

Commit

Permalink
Test optional libraries with oldest and newest PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
Art4 committed Jan 31, 2023
1 parent 3977fff commit a98c673
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,17 @@ jobs:
- name: Run unit tests
run: composer test

test-with-libraries:
test-with-optional-libraries:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: ['8.2']
with: ['idna-convert-v051', 'idna-convert-v3']
include:
- php: '7.2'
php: ['7.2', '8.2']
with: ['idna-convert-v051', 'idna-convert-v2', 'idna-convert-v3']
exclude:
# no PHP 8.2 support in idna-convert-v2
- php: '8.2'
with: 'idna-convert-v2'

name: "PHP: ${{ matrix.php }} with ${{ matrix.with }}"
Expand Down

0 comments on commit a98c673

Please sign in to comment.