diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index bac4eb8..177a850 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,9 +8,9 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-latest] php: [8.2, 8.1] - stability: [prefer-lowest, prefer-stable] + stability: [prefer-stable] name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }} @@ -22,7 +22,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo + extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, simplexml coverage: none - name: Setup problem matchers diff --git a/composer.json b/composer.json index b20043e..7e85519 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,12 @@ ], "require": { "php": "^8.1", - "ext-simplexml": "*", - "ext-dom": "*" + "ext-simplexml": "*", + "ext-dom": "*" }, "require-dev": { "laravel/pint": "^1.2", - "phpunit/phpunit": "^9.5" + "pestphp/pest": "^3.0" }, "autoload": { "psr-4": { @@ -35,8 +35,7 @@ } }, "scripts": { - "test": "vendor/bin/phpunit", - "test-coverage": "vendor/bin/phpunit --coverage", + "test": "vendor/bin/pest", "format": "vendor/bin/pint" }, "config": { diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php new file mode 100644 index 0000000..61cd84c --- /dev/null +++ b/tests/Feature/ExampleTest.php @@ -0,0 +1,5 @@ +toBeTrue(); +}); diff --git a/tests/TestCase.php b/tests/TestCase.php new file mode 100644 index 0000000..cfb05b6 --- /dev/null +++ b/tests/TestCase.php @@ -0,0 +1,10 @@ +toBeTrue(); +});