diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b76a7bf..efada67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: pull_request: jobs: tests: + strategy: + matrix: + phpversion: [ 8.0, 8.1, 8.2 ] timeout-minutes: 15 runs-on: ubuntu-latest steps: @@ -13,7 +16,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: ${{ matrix.phpversion }} extension-csv: mbstring,bcmath,curl,gettext,exif,intl ini-values-csv: pcov.directory=./src/ coverage: pcov diff --git a/composer.json b/composer.json index b6550c3..ab05383 100644 --- a/composer.json +++ b/composer.json @@ -19,15 +19,15 @@ } ], "require-dev": { - "orchestra/testbench": "^5.3", + "orchestra/testbench": "^v7.25.0", "phpunit/phpunit": "^9.2", "scrutinizer/ocular": "^1.9", "webtoolshealth/php-coding-standard": "^1.0" }, "require": { "justinrainbow/json-schema": "^5.2", - "php": "^7.4|^8.0", - "illuminate/support": "^7.0|^8.0|^9.0" + "php": "^8.0|^8.1|^8.2", + "illuminate/support": "^8.0|^9.0|^10.0" }, "config": { "sort-packages": true