This repository was archived by the owner on Apr 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +46
-49
lines changed
Expand file tree Collapse file tree 4 files changed +46
-49
lines changed Original file line number Diff line number Diff line change 11* text =auto
22
3+ /.github export-ignore
34/build export-ignore
45/tests export-ignore
56.gitattributes export-ignore
67.gitignore export-ignore
7- .travis.yml export-ignore
88nitpick.json export-ignore
99phpunit.xml.dist export-ignore
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ tests :
9+
10+ runs-on : ubuntu-latest
11+
12+ strategy :
13+ fail-fast : true
14+ matrix :
15+ php : [7.2, 7.3, 7.4]
16+ stability : [prefer-lowest, prefer-stable]
17+
18+ name : PHP ${{ matrix.php }} - ${{ matrix.stability }}
19+
20+ steps :
21+ - name : Checkout code
22+ uses : actions/checkout@v2
23+
24+ - name : Cache dependencies
25+ uses : actions/cache@v1
26+ with :
27+ path : ~/.composer/cache
28+ key : dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
29+
30+ - name : Setup PHP
31+ uses : shivammathur/setup-php@v2
32+ with :
33+ php-version : ${{ matrix.php }}
34+ coverage : pcov
35+
36+ - name : Install dependencies
37+ run : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest
38+
39+ - name : Execute tests
40+ run : vendor/bin/phpunit --coverage-clover=coverage.clover --verbose
41+
42+ - name : Upload Code Coverage
43+ run : wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ The soft deletes are great in Laravel to make sure that some deleted data can be
1111
1212| Branch | Status | Coverage | Code Quality |
1313| ------ | :----: | :------: | :----------: |
14- | Develop | [ ![ Build Status] ( https://travis-ci.org /spinen/laravel-garbage-man.svg?branch=develop )] ( https://travis-ci.org /spinen/laravel-garbage-man ) | [ ![ Code Coverage] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/badges/coverage.png?b=develop )] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/?branch=develop ) | [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/badges/quality-score.png?b=develop )] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/?branch=develop ) |
15- | Master | [ ![ Build Status] ( https://travis-ci.org /spinen/laravel-garbage-man.svg?branch=master )] ( https://travis-ci.org /spinen/laravel-garbage-man ) | [ ![ Code Coverage] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/badges/coverage.png?b=develop )] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/?branch=develop ) | [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/?branch=master ) |
14+ | Develop | [ ![ Build Status] ( https://github.com /spinen/laravel-garbage-man/workflows/CI/badge .svg?branch=develop )] ( https://github.com /spinen/laravel-garbage-man/workflows/CI/badge.svg?branch=develop ) | [ ![ Code Coverage] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/badges/coverage.png?b=develop )] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/?branch=develop ) | [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/badges/quality-score.png?b=develop )] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/?branch=develop ) |
15+ | Master | [ ![ Build Status] ( https://github.com /spinen/laravel-garbage-man/workflows/CI/badge .svg?branch=master )] ( https://github.com /spinen/laravel-garbage-man/workflows/CI/badge.svg?branch=master ) | [ ![ Code Coverage] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/?branch=master ) | [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/spinen/laravel-garbage-man/?branch=master ) |
1616
1717## Prerequisite
1818
You can’t perform that action at this time.
0 commit comments