File tree Expand file tree Collapse file tree 5 files changed +53
-42
lines changed Expand file tree Collapse file tree 5 files changed +53
-42
lines changed Original file line number Diff line number Diff line change 11/.gitattributes export-ignore
22/.gitignore export-ignore
3- /.scrutinizer.yml export-ignore
4- /.travis.yml export-ignore
53/build.xml export-ignore
64/phpunit.xml export-ignore
75/README.md export-ignore
Original file line number Diff line number Diff line change 1+ on :
2+ - " pull_request"
3+ - " push"
4+
5+ name : " unit"
6+
7+ permissions :
8+ contents : " read"
9+
10+ jobs :
11+ tests :
12+ name : " Tests"
13+ runs-on : " ubuntu-latest"
14+
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ php-version :
19+ - " 8.1"
20+ - " 8.2"
21+ - " 8.3"
22+
23+ steps :
24+ - name : " Checkout"
25+ uses : " actions/checkout@v3"
26+
27+ - name : " Install PHP with extensions"
28+ uses : " shivammathur/setup-php@v2"
29+ with :
30+ php-version : " ${{ matrix.php-version }}"
31+ php_extensions : " xdebug"
32+
33+ - name : " Cache dependencies installed with Composer"
34+ uses : " actions/cache@v2"
35+ with :
36+ path : " ~/.composer/cache"
37+ key : " php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.json') }}"
38+ restore-keys : " php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-"
39+
40+ - name : " Install dependencies with Composer"
41+ run : " composer update --no-ansi --no-interaction --no-progress"
42+
43+ - name : " Run tests with PHPUnit"
44+ run : " bin/phing unit"
45+
46+ - name : " Upload to Codecov"
47+ uses : " codecov/codecov-action@v2"
48+ with :
49+ files : " test/coverage.xml"
50+ verbose : true
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,8 +26,9 @@ This package is a wrapper around [hassankhan/config](https://github.com/hassankh
2626<td >
2727<a href =" https://packagist.org/packages/setbased/typed-config " ><img src =" https://poser.pugx.org/setbased/typed-config/v/stable " alt =" Latest Stable Version " /></a ><br />
2828</td >
29- <td ><a href =" https://travis-ci.org/SetBased/php-typed-config " ><img src =" https://travis-ci.org/SetBased/php-typed-config.svg?branch=master " alt =" Build Status " /></a ><br />
30- <a href =" https://scrutinizer-ci.com/g/SetBased/php-typed-config/?branch=master " ><img src =" https://scrutinizer-ci.com/g/SetBased/php-typed-config/badges/coverage.png?b=master " alt =" Code Coverage " /></a ><br />
29+ <td >
30+ <a href =" https://github.com/SetBased/php-typed-config/actions/workflows/unit.yml " ><img src =" https://github.com/SetBased/php-typed-config/actions/workflows/unit.yml/badge.svg " alt =" Build Status " /></a ><br />
31+ <a href =" https://codecov.io/gh/SetBased/php-typed-config " ><img src =" https://codecov.io/gh/SetBased/php-typed-config/branch/master/graph/badge.svg " alt =" Code Coverage " /></a >
3132</td >
3233<td >
3334<a href =" https://scrutinizer-ci.com/g/SetBased/php-typed-config/?branch=master " ><img src =" https://scrutinizer-ci.com/g/SetBased/php-typed-config/badges/quality-score.png?b=master " alt =" Scrutinizer Code Quality " /></a >
You can’t perform that action at this time.
0 commit comments