Skip to content

Commit

Permalink
Run all tests on PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Dec 23, 2020
1 parent acefecc commit 6b8ecf5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,10 @@ jobs:
- name: "Globally install symfony/flex"
run: "composer global require --no-progress --no-scripts --no-plugins symfony/flex"

# to be removed when our dependencies support PHP 8
- name: "Pretend this is PHP 7.4"
run: "composer config platform.php 7.4.99"
if: "${{ matrix.php-version == '8.0' }}"

- name: "Require symfony/messenger"
run: "composer require --dev symfony/messenger --no-update"
if: "${{ startsWith(matrix.symfony-require, '4.') }}"

- name: "Remove doctrine/orm"
run: "composer remove --dev doctrine/orm --no-update"
if: "${{ matrix.php-version == '8.0' }}"

- name: "Install stable dependencies with composer"
run: "composer update --no-interaction --prefer-dist --prefer-stable"
if: "${{ matrix.deps == 'normal' }}"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"require-dev": {
"doctrine/coding-standard": "^8.0",
"doctrine/orm": "^2.6",
"ocramius/proxy-manager": "^2.1",
"friendsofphp/proxy-manager-lts": "^1.0",
"phpunit/phpunit": "^7.5 || ^8.0 || ^9.3",
"symfony/phpunit-bridge": "^4.2",
"symfony/property-info": "^4.3.3|^5.0",
Expand Down

0 comments on commit 6b8ecf5

Please sign in to comment.