test php8 build
This commit is contained in:
parent
9ec8c2f807
commit
583cf6751a
3 changed files with 8 additions and 7 deletions
5
.github/workflows/test_and_publish.yml
vendored
5
.github/workflows/test_and_publish.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
|||
max-parallel: 3
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php: ['7.3', '7.4']
|
||||
php: ['7.3', '7.4', '8.0']
|
||||
database: ['pgsql', 'mysql', 'sqlite']
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -56,7 +56,7 @@ jobs:
|
|||
run: composer validate
|
||||
|
||||
- name: Install PHP dependencies
|
||||
run: composer install --prefer-dist --no-progress --no-suggest
|
||||
run: composer update && composer install --prefer-dist --no-progress --no-suggest
|
||||
|
||||
- name: Install shimmie
|
||||
run: php index.php
|
||||
|
@ -75,6 +75,7 @@ jobs:
|
|||
vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover=data/coverage.clover
|
||||
|
||||
- name: Upload coverage
|
||||
if: matrix.php == '7.4'
|
||||
run: |
|
||||
wget https://scrutinizer-ci.com/ocular.phar
|
||||
php ocular.phar code-coverage:upload --format=php-clover data/coverage.clover
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
],
|
||||
|
||||
"require" : {
|
||||
"php" : "^7.3",
|
||||
"php" : "^7.3 | ^8.0",
|
||||
"ext-pdo": "*",
|
||||
"ext-json": "*",
|
||||
"ext-fileinfo": "*",
|
||||
|
|
4
composer.lock
generated
4
composer.lock
generated
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "da65b5a34a244840672147b4e6c1bea0",
|
||||
"content-hash": "7bec754711e9dae28c4237a723ad824a",
|
||||
"packages": [
|
||||
{
|
||||
"name": "bower-asset/jquery",
|
||||
|
@ -2428,7 +2428,7 @@
|
|||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": {
|
||||
"php": "^7.3",
|
||||
"php": "^7.3 | ^8.0",
|
||||
"ext-pdo": "*",
|
||||
"ext-json": "*",
|
||||
"ext-fileinfo": "*"
|
||||
|
|
Reference in a new issue