diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e02fa66..dc76572 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: - php-version: 7.2 + php-version: 8.4 extensions: curl, mbstring coverage: none tools: composer:v2, cs2pr @@ -27,16 +27,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['7.2', '7.3', '7.4'] + php: ['8.1', '8.2', '8.3', '8.4'] coverage: [true] composer-flags: [''] - include: - - php: '8.0' - coverage: false - composer-flags: '--ignore-platform-req=php' - - php: '7.2' - coverage: false - composer-flags: '--prefer-lowest' steps: - uses: actions/checkout@v2 @@ -50,11 +43,7 @@ jobs: coverage: pcov tools: composer:v2 - - run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - - - name: "Use PHPUnit 9.3+ on PHP 8" - run: composer require --no-update --dev phpunit/phpunit:^9.3 - if: "matrix.php == '8.0'" +# - run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - run: composer update --no-progress ${{ matrix.composer-flags }} @@ -76,7 +65,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: - php-version: 7.2 + php-version: 8.4 extensions: curl, mbstring coverage: none tools: composer:v2