Skip to content

Commit

Permalink
Merge pull request #16 from Codeception/php8
Browse files Browse the repository at this point in the history
Support PHP 8
  • Loading branch information
Naktibalda committed Nov 26, 2020
2 parents 689a42c + 8190486 commit a39cd44
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 369 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
php: [5.6, 7.0, 7.1, 7.2, 7.3, 7.4]
php: [5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0]

steps:
- name: Checkout code
Expand All @@ -24,10 +24,13 @@ jobs:
- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: |
composer require phpunit/phpunit "<=8.5.2" --no-update --ignore-platform-reqs
composer install --prefer-dist --no-progress --no-interaction --no-suggest
- name: Install dependencies on PHP 7
if: matrix.php < 8
run: composer install --prefer-dist --no-progress --no-interaction

- name: Install dependencies on PHP 8
if: matrix.php == 8
run: composer install --prefer-dist --no-progress --no-interaction --ignore-platform-req=php

- name: Run test suite
run: php vendor/bin/codecept run
21 changes: 0 additions & 21 deletions Robofile.php

This file was deleted.

3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
],
"minimum-stability": "RC",
"require": {
"php": ">=5.6.0 <8.0",
"php": ">=5.6.0 <9.0",
"codeception/codeception": "^4.0"
},
"require-dev": {
"codeception/util-robohelpers": "dev-master",
"doctrine/orm": "^2",
"doctrine/annotations": "^1",
"doctrine/data-fixtures": "^1",
Expand Down
Loading

0 comments on commit a39cd44

Please sign in to comment.