Skip to content

Commit

Permalink
Minor dependency update for official PHP 8.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Mogliev committed Jan 30, 2021
1 parent 9b638a5 commit 1fa3b07
Show file tree
Hide file tree
Showing 4 changed files with 189 additions and 194 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ jobs:
has_unique_dependencies: true
- php: '7.3'
- php: '7.4'
# mezzio/mezzio does not support PHP 8 officially yet, so have to ignore php version requirement
# ext-uopz does not support PHP 8 officially yet, so have to use custom build https://github.com/krakjoe/uopz/pull/138
- php: '8.0'
upload_coverage: true
extra_composer_args: '--ignore-platform-req=php'
container: ghcr.io/articus/phpdbg-coveralls:${{ matrix.php }}_2.4.3_2021-01-16
steps:
- name: Checkout code
Expand All @@ -29,13 +27,11 @@ jobs:
if: matrix.has_unique_dependencies
run: cp ./composer.lock.${{ matrix.php }} ./composer.lock

- name: Enale UOPZ extension
- name: Enable UOPZ extension
run: phpenmod uopz

- name: Install dependencies via Composer
run: >
php ./composer.phar install --no-interaction --no-progress --prefer-dist --classmap-authoritative
${{ matrix.extra_composer_args }}
run: php ./composer.phar install --no-interaction --no-progress --prefer-dist --classmap-authoritative

- name: Run PhpSpec tests
run: phpdbg -qrr ./vendor/phpspec/phpspec/bin/phpspec run
Expand Down
Loading

0 comments on commit 1fa3b07

Please sign in to comment.