diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 7bdb09e..c7fae56 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,22 +1,32 @@ name: Tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [7.4, 8.0] - laravel: [8.*, 7.*] + php: [7.4, 8.0, '8.2'] + laravel: ['7.*', '8.*', '11.*'] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 8.* testbench: 6.* - laravel: 7.* testbench: 5.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: 7.4 + - laravel: 11.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index b544347..775d209 100644 --- a/composer.json +++ b/composer.json @@ -13,17 +13,17 @@ "require": { "php": "^7.2|^7.3|^7.4|^8.0", "guzzlehttp/guzzle": "^6.3|^7.0", - "illuminate/auth": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/contracts": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/database": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/http": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/routing": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0" + "illuminate/auth": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/contracts": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/database": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/http": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/routing": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0" }, "require-dev": { - "orchestra/testbench": "^4.0|^5.0|^6.0", - "laravel/passport": "^7.0|^8.0|^9.0|^10.0", - "phpunit/phpunit": "^7.0|^8.0|^9.0", + "orchestra/testbench": "^4.0|^5.0|^6.0|^9.0", + "laravel/passport": "^7.0|^8.0|^9.0|^10.0|dev-master", + "phpunit/phpunit": "^7.0|^8.0|^9.0|^10.5", "tymon/jwt-auth": "^1.0" }, "suggest": {