Skip to content

Commit

Permalink
Merge pull request #1273 from alcaeus/full-php8-testing
Browse files Browse the repository at this point in the history
Run all tests on PHP 8
  • Loading branch information
alcaeus authored Dec 23, 2020
2 parents acefecc + 53048f5 commit 8654e8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ jobs:
php-version: "7.1"
symfony-deprecations-helper: "weak"

# Test against latest Symfony 4.3 stable
- symfony-require: "4.3.*"
php-version: "7.3"
deps: "normal"

# Test against latest Symfony 4.4 dev
- symfony-require: "4.4.*"
php-version: "7.3"
Expand Down Expand Up @@ -90,19 +85,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 8654e8c

Please sign in to comment.