diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c733641..55f4a5c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,32 +1,35 @@ name: run-tests -on: [push, pull_request] +on: + - push + - pull_request jobs: - tests: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: true - matrix: - os: [ubuntu-latest] - php: [8.1, 8.0, 7.4, 7.3] - dependency-version: [prefer-lowest, prefer-stable] - - name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - coverage: none - - - name: Install dependencies - run: | - composer update --prefer-dist --no-interaction --${{ matrix.dependency-version }} - - - name: Execute tests - run: vendor/bin/phpunit + tests: + runs-on: ${{ matrix.os }} + + strategy: + fail-fast: true + matrix: + os: [ubuntu-latest] + php: [7.3, 7.4, 8.0, 8.1, '8.2'] + dependency-version: [prefer-lowest, prefer-stable] + + name: P${{ matrix.php }} - ${{ matrix.dependency-version }} + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + coverage: none + + - name: Install dependencies + run: | + composer update --prefer-dist --no-interaction --${{ matrix.dependency-version }} + + - name: Execute tests + run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index 13c5df0..d0821d9 100644 --- a/composer.json +++ b/composer.json @@ -3,12 +3,12 @@ "description": "Make debugging easier by adding more data to your laravel logs", "require": { "php": "^7.3|^8.0", - "illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "monolog/monolog": "^1.23|^2.1.1|^3.2" }, "require-dev": { - "phpunit/phpunit": "^9.3.9", - "orchestra/testbench": "^6.23.0|^7.0.0|^8.0" + "phpunit/phpunit": "^9.3.9|^10.5", + "orchestra/testbench": "^6.23.0|^7.0.0|^8.0|^9.0" }, "license": "MIT", "authors": [