diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 06645fe..fa243f2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,21 +9,17 @@ jobs: strategy: fail-fast: true matrix: - php: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"] - laravel: ["^6.0", "^7.0", "^8.0", "^9.0", "^10.0"] + php: ["7.2", "7.4", "8.0", "8.1", "8.2", "8.3"] + laravel: ["^6.0", "^7.0", "^8.0", "^9.0", "^10.0", "^11.0"] exclude: - php: "8.0" laravel: "^10.0" - php: "7.4" laravel: "^10.0" - - php: "7.3" - laravel: "^10.0" - php: "7.2" laravel: "^10.0" - php: "7.4" laravel: "^9.0" - - php: "7.3" - laravel: "^9.0" - php: "7.2" laravel: "^9.0" - php: "8.3" @@ -44,7 +40,16 @@ jobs: laravel: "^6.0" - php: "8.1" laravel: "^6.0" - + - php: "7.2" + laravel: "^11.0" + - php: "7.4" + laravel: "^11.0" + - php: "8.0" + laravel: "^11.0" + - php: "8.1" + laravel: "^11.0" + - php: "8.2" + laravel: "^11.0" name: "PHP${{ matrix.php }} - Laravel${{ matrix.laravel }}" runs-on: "ubuntu-latest" @@ -71,4 +76,4 @@ jobs: run: "composer dump-autoload --optimize --strict-psr" - name: "Execute unit tests" - run: "vendor/bin/phpunit --coverage-clover=coverage.xml --log-junit=test-report.xml --testdox" + run: "vendor/bin/phpunit" diff --git a/composer.json b/composer.json index 5c4330b..2dc5f97 100644 --- a/composer.json +++ b/composer.json @@ -19,11 +19,11 @@ ], "require": { "php": "^7.2|^8.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0" + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0" }, "require-dev": { - "phpunit/phpunit": "^7||^8.4|^9.3.3", - "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0" + "phpunit/phpunit": "^7||^8.4|^9.3.3|^10.1", + "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0" }, "autoload": { "classmap": [ diff --git a/phpunit.xml b/phpunit.xml index 9b3e766..8af1096 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,20 +1,8 @@ - + tests/ - - - src/ - - - - - - - - -