mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Merge pull request #936 from acelaya-forks/feature/php8-on-mutation
Added PHP 8 on mutation tests
This commit is contained in:
commit
d7b4720327
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -10,7 +10,6 @@
|
|||||||
.gitattributes export-ignore
|
.gitattributes export-ignore
|
||||||
.gitignore export-ignore
|
.gitignore export-ignore
|
||||||
.phpstorm.meta.php export-ignore
|
.phpstorm.meta.php export-ignore
|
||||||
.scrutinizer.yml export-ignore
|
|
||||||
.travis.yml export-ignore
|
.travis.yml export-ignore
|
||||||
build.sh export-ignore
|
build.sh export-ignore
|
||||||
CHANGELOG.md export-ignore
|
CHANGELOG.md export-ignore
|
||||||
|
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -239,12 +239,10 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-version: ['7.4']
|
php-version: ['7.4', '8.0']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Start database server
|
|
||||||
run: docker-compose -f docker-compose.yml -f docker-compose.ci.yml up -d shlink_db
|
|
||||||
- name: Use PHP
|
- name: Use PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
@ -286,10 +284,12 @@ jobs:
|
|||||||
- run: mv build/coverage-unit/coverage-unit.cov build/coverage-unit.cov
|
- run: mv build/coverage-unit/coverage-unit.cov build/coverage-unit.cov
|
||||||
- run: mv build/coverage-db/coverage-db.cov build/coverage-db.cov
|
- run: mv build/coverage-db/coverage-db.cov build/coverage-db.cov
|
||||||
- run: mv build/coverage-api/coverage-api.cov build/coverage-api.cov
|
- run: mv build/coverage-api/coverage-api.cov build/coverage-api.cov
|
||||||
- run: wget https://phar.phpunit.de/phpcov-7.0.2.phar
|
- run: wget https://phar.phpunit.de/phpcov-8.2.0.phar
|
||||||
- run: php phpcov-7.0.2.phar merge build --clover build/clover.xml
|
- run: php phpcov-8.2.0.phar merge build --clover build/clover.xml
|
||||||
- run: wget https://scrutinizer-ci.com/ocular.phar
|
- name: Publish coverage
|
||||||
- run: php ocular.phar code-coverage:upload --format=php-clover build/clover.xml
|
uses: codecov/codecov-action@v1
|
||||||
|
with:
|
||||||
|
file: ./build/clover.xml
|
||||||
|
|
||||||
delete-artifacts:
|
delete-artifacts:
|
||||||
needs:
|
needs:
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
tools:
|
|
||||||
external_code_coverage:
|
|
||||||
timeout: 600
|
|
||||||
checks:
|
|
||||||
php:
|
|
||||||
code_rating: true
|
|
||||||
duplication: true
|
|
||||||
build:
|
|
||||||
dependencies:
|
|
||||||
override:
|
|
||||||
- composer install --no-interaction --no-scripts --ignore-platform-reqs
|
|
||||||
nodes:
|
|
||||||
analysis:
|
|
||||||
tests:
|
|
||||||
override:
|
|
||||||
- php-scrutinizer-run
|
|
@ -1,8 +1,8 @@
|
|||||||

|

|
||||||
|
|
||||||
[](https://github.com/shlinkio/shlink/actions?query=workflow%3A%22Continuous+integration%22)
|
[](https://github.com/shlinkio/shlink/actions?query=workflow%3A%22Continuous+integration%22)
|
||||||
|
[](https://app.codecov.io/gh/shlinkio/shlink)
|
||||||
[](https://scrutinizer-ci.com/g/shlinkio/shlink/)
|
[](https://scrutinizer-ci.com/g/shlinkio/shlink/)
|
||||||
[](https://scrutinizer-ci.com/g/shlinkio/shlink/)
|
|
||||||
[](https://packagist.org/packages/shlinkio/shlink)
|
[](https://packagist.org/packages/shlinkio/shlink)
|
||||||
[](https://hub.docker.com/r/shlinkio/shlink/)
|
[](https://hub.docker.com/r/shlinkio/shlink/)
|
||||||
[](https://github.com/shlinkio/shlink/blob/main/LICENSE)
|
[](https://github.com/shlinkio/shlink/blob/main/LICENSE)
|
||||||
|
@ -34,14 +34,14 @@
|
|||||||
"laminas/laminas-stdlib": "^3.2",
|
"laminas/laminas-stdlib": "^3.2",
|
||||||
"lcobucci/jwt": "^4.0",
|
"lcobucci/jwt": "^4.0",
|
||||||
"league/uri": "^6.2",
|
"league/uri": "^6.2",
|
||||||
"lstrojny/functional-php": "^1.9",
|
"lstrojny/functional-php": "dev-master#5b78132 as 1.15",
|
||||||
"mezzio/mezzio": "^3.2",
|
"mezzio/mezzio": "^3.2",
|
||||||
"mezzio/mezzio-fastroute": "^3.0",
|
"mezzio/mezzio-fastroute": "^3.0",
|
||||||
"mezzio/mezzio-helpers": "^5.3",
|
"mezzio/mezzio-helpers": "^5.3",
|
||||||
"mezzio/mezzio-problem-details": "^1.1",
|
"mezzio/mezzio-problem-details": "^1.1",
|
||||||
"mezzio/mezzio-swoole": "^2.6.4",
|
"mezzio/mezzio-swoole": "^2.6.4",
|
||||||
"monolog/monolog": "^2.0",
|
"monolog/monolog": "^2.0",
|
||||||
"nikolaposa/monolog-factory": "^3.0",
|
"nikolaposa/monolog-factory": "^3.1",
|
||||||
"ocramius/proxy-manager": "^2.7.0",
|
"ocramius/proxy-manager": "^2.7.0",
|
||||||
"php-middleware/request-id": "^4.1",
|
"php-middleware/request-id": "^4.1",
|
||||||
"predis/predis": "^1.1",
|
"predis/predis": "^1.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user