Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sunaoka committed Jul 12, 2024
1 parent d434727 commit adbab60
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ on:
jobs:
test:
runs-on: ${{ matrix.os }}

env:
latest_php: 8.3

strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
php: [
'5.5', '5.6',
'7.0', '7.1', '7.2', '7.3', '7.4',
'8.0', '8.1', '8.2', '8.3'
'8.0', '8.1', '8.2', '8.3', '8.4'
]

name: PHP ${{ matrix.php }}
Expand All @@ -34,8 +38,7 @@ jobs:
run: composer install --no-ansi --prefer-dist --no-progress --no-interaction

- name: Migrate phpunit XML configuration
continue-on-error: true
run: vendor/bin/phpunit --migrate-configuration
run: vendor/bin/phpunit --migrate-configuration || true

- name: Run test suite
run: vendor/bin/phpunit --coverage-clover=coverage.xml
Expand All @@ -46,3 +49,4 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: false
if: matrix.php == env.latest_php

0 comments on commit adbab60

Please sign in to comment.