diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 87d66ba..250bd13 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -9,20 +9,23 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.4, 8.3, 8.2] - laravel: [11.*, 12.*] + php: [8.2, 8.3, 8.4, 8.5] + laravel: [12.*, 13.*] stability: [prefer-lowest, prefer-stable] include: - - laravel: 11.* - testbench: 9.* - laravel: 12.* testbench: 10.* + - laravel: 13.* + testbench: 11.* + exclude: + - laravel: 13.* + php: 8.2 name: PHP ${{ matrix.php }} – Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/composer.json b/composer.json index 45f439a..6c1ee7c 100644 --- a/composer.json +++ b/composer.json @@ -13,13 +13,13 @@ ], "require": { "php": "^8.2", - "illuminate/support": "^11.0 || ^12.0", + "illuminate/support": "^12.0 || ^13.0", "laravel/prompts": "^0.1.17 || ^0.2.0 || ^0.3.0" }, "require-dev": { "nunomaduro/collision": "^8.1", - "orchestra/testbench": "^9.0 || ^10.0", - "phpunit/phpunit": "^10.0 || ^11.0" + "orchestra/testbench": "^10.0 || ^11.0", + "phpunit/phpunit": "^11.0|^12.0|^13.0" }, "autoload": { "psr-4": { diff --git a/phpunit.xml b/phpunit.xml index 78049a5..978e7d5 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,14 +1,26 @@ - - - - - ./tests - - - - - ./src - - + + + + ./tests + + + + + + + + + + + + diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php index baa38e0..482708f 100644 --- a/tests/ExampleTest.php +++ b/tests/ExampleTest.php @@ -3,10 +3,11 @@ namespace Aerni\Sync\Tests; use Orchestra\Testbench\TestCase; +use PHPUnit\Framework\Attributes\Test; class ExampleTest extends TestCase { - /** @test */ + #[Test] public function true_is_true() { $this->assertTrue(true);