From fd0535bfa4d3187ec35b79b24ff8e162651f6a02 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 4 Dec 2023 22:15:17 +0800 Subject: [PATCH] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/audits.yaml | 1 - .github/workflows/tests.yaml | 53 +---------------------------------- composer.json | 6 ++-- 3 files changed, 4 insertions(+), 56 deletions(-) diff --git a/.github/workflows/audits.yaml b/.github/workflows/audits.yaml index c986a53..ffb8be0 100644 --- a/.github/workflows/audits.yaml +++ b/.github/workflows/audits.yaml @@ -15,7 +15,6 @@ jobs: os: - "ubuntu-latest" php: - - 8.1 - 8.2 - 8.3 experimental: diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 6d83055..69bb9c3 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -14,13 +14,12 @@ jobs: os: - "ubuntu-latest" php: - - 8.1 - 8.2 - 8.3 phpunit: - "~10.1.0" - - "~10.4.0" - "~10.5.0" + - "~11.0.0" dependencies: - "highest" - "lowest" @@ -57,53 +56,3 @@ jobs: run: composer run test env: RAY_ENABLED: false - - tests-on-phpunit-9: - runs-on: ${{ matrix.os }} - continue-on-error: ${{ matrix.experimental }} - strategy: - matrix: - os: - - "ubuntu-latest" - php: - - 8.1 - - 8.2 - phpunit: - - "~9.6.0" - dependencies: - - "highest" - - "lowest" - experimental: - - true - - name: PHP${{ matrix.php }} with PHPUnit${{ matrix.phpunit }} on ${{ matrix.os }} (${{ matrix.dependencies }}) - - steps: - - name: Checkout repository and submodules - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, intl, fileinfo - coverage: none - - - name: Install PHPUnit ${{ matrix.phpunit }} - run: | - composer require "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update --dev - - - name: Install dependencies - uses: "ramsey/composer-install@v2" - with: - dependency-versions: "${{ matrix.dependencies }}" - composer-options: "--prefer-dist --no-cache" - - - name: Installed dependencies - run: composer show -D - - - name: Execute tests - run: vendor/bin/phpunit --no-coverage --no-configuration --dont-report-useless-tests --bootstrap vendor/autoload.php tests - env: - RAY_ENABLED: false - TESTBENCH_CONVERT_DEPRECATIONS_TO_EXCEPTIONS: true diff --git a/composer.json b/composer.json index 2d7326c..3484513 100644 --- a/composer.json +++ b/composer.json @@ -21,9 +21,9 @@ } }, "require": { - "php": "^8.1", - "laravel/browser-kit-testing": "^6.4 || ^7.0", - "orchestra/testbench": "^8.16", + "php": "^8.2", + "laravel/browser-kit-testing": "dev-develop", + "orchestra/testbench": "^9.0", "symfony/dom-crawler": "^6.2" }, "require-dev": {