diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index f4533c2..12b6a08 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - php-version: ['7.3', '7.4'] + php-version: ['7.3', '7.4', '8.0'] dependencies: [''] include: - { php-version: '7.3', dependencies: '--prefer-lowest --prefer-stable' } @@ -40,6 +40,7 @@ jobs: ./vendor/bin/phpunit --configuration ./src-tests/phpunit.xml --exclude-group integration --coverage-clover ./src-tests/logs/clover.xml - name: Submit coverage to Coveralls + if: ${{ matrix.php-version < 8.0 }} # Code coverage on PHP 8 is not supported with PHPUnit 8 env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_PARALLEL: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 64df37c..e0b5adf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ ### Added - `--parallel-limit` (`-l`) option of `run` command to allow limiting maximum number of tests being run simultaneously. - Show test duration in timeline tooltips. +- PHP 8 support. ### Changed - Require PHP 7.3+ and Symfony 5 components. diff --git a/composer.json b/composer.json index b26f550..0992f97 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "php": "^7.3", + "php": "^7.3 || ^8.0", "ext-SimpleXML": "*", "ext-curl": "*", "ext-dom": "*",