Skip to content

Commit

Permalink
Merge pull request #616 from picqer/casperbakker-patch-1
Browse files Browse the repository at this point in the history
Update phpunit.yml with PHP 8.1 and 8.2
  • Loading branch information
casperbakker committed Jul 26, 2023
2 parents 364bc3c + cce067d commit 97cd265
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,32 @@
name: Run phpunit
on: [ push ]

on: [push]

jobs:
test:

strategy:
matrix:
php-versions: [ '7.2', '7.3', '7.4', '8.0' ]
php-versions: [ '7.4', '8.0', '8.1', '8.2' ]

name: PHP ${{ matrix.php-versions }}

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}

- name: PHP version check
run: php -v

- name: Composer install
run: composer install --prefer-dist --no-interaction --no-progress --no-suggest

- name: Run tests
run: vendor/bin/phpunit

0 comments on commit 97cd265

Please sign in to comment.