Skip to content

Commit

Permalink
Allow PHP 8, add PHP 8 build (fixes #276)
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Mar 11, 2021
1 parent d118479 commit 0fe1262
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yaml
Expand Up @@ -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' }
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -19,7 +19,7 @@
}
],
"require": {
"php": "^7.3",
"php": "^7.3 || ^8.0",
"ext-SimpleXML": "*",
"ext-curl": "*",
"ext-dom": "*",
Expand Down

0 comments on commit 0fe1262

Please sign in to comment.