diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0739867b..348313bf 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -45,20 +45,20 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.4', '8.0'] + php: ['8.0'] steps: - name: Checkout code uses: actions/checkout@v2 - name: Setup PHP only uses: shivammathur/setup-php@v2 - if: matrix.php != '7.4' + if: matrix.php != '8.0' with: php-version: ${{ matrix.php }} coverage: none extensions: mbstring, dom, fileinfo, sqlite, gd, zip - name: Setup PHP with Xdebug uses: shivammathur/setup-php@v2 - if: matrix.php == '7.4' + if: matrix.php == '8.0' with: php-version: ${{ matrix.php }} coverage: xdebug @@ -72,14 +72,14 @@ jobs: - name: Install Composer dependencies run: composer install --no-progress --prefer-dist --optimize-autoloader - name: Run tests only - if: matrix.php != '7.4' + if: matrix.php != '8.0' run: ./vendor/bin/phpunit - name: Run tests with coverage report - if: matrix.php == '7.4' + if: matrix.php == '8.0' run: ./vendor/bin/phpunit --coverage-clover=coverage.xml - name: Upload coverage report uses: codecov/codecov-action@v1 - if: matrix.php == '7.4' && success() + if: matrix.php == '8.0' && success() with: token: ${{ secrets.CODECOV_TOKEN }} name: github-actions