File tree Expand file tree Collapse file tree 5 files changed +70
-36
lines changed Expand file tree Collapse file tree 5 files changed +70
-36
lines changed Original file line number Diff line number Diff line change 1+ /.github export-ignore
12/.gitattributes export-ignore
23/.gitignore export-ignore
3- /.travis.yml export-ignore
4- /.scrutinizer.yml export-ignore
54/phpunit.xml export-ignore
Original file line number Diff line number Diff line change 1+ name : " CI"
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - " master"
8+ schedule :
9+ - cron : " 42 3 * * *"
10+
11+ jobs :
12+ phpunit :
13+ name : " PHPUnit"
14+ runs-on : " ubuntu-20.04"
15+
16+ strategy :
17+ matrix :
18+ php-version :
19+ - " 7.1"
20+ - " 7.2"
21+ - " 7.3"
22+ - " 7.4"
23+ - " 8.0"
24+ dependencies :
25+ - " highest"
26+
27+ steps :
28+ - name : " Checkout"
29+ uses : " actions/checkout@v2"
30+ with :
31+ fetch-depth : 2
32+
33+ - name : " Install PHP"
34+ uses : " shivammathur/setup-php@v2"
35+ with :
36+ php-version : " ${{ matrix.php-version }}"
37+ coverage : " pcov"
38+ ini-values : " zend.assertions=1"
39+
40+ - name : " Install dependencies with Composer"
41+ uses : " ramsey/composer-install@v1"
42+ with :
43+ dependency-versions : " ${{ matrix.dependencies }}"
44+
45+ - name : " Run PHPUnit"
46+ run : " vendor/bin/phpunit"
47+
48+ upload_coverage :
49+ name : " Upload coverage to Codecov"
50+ runs-on : " ubuntu-20.04"
51+ needs :
52+ - " phpunit"
53+
54+ steps :
55+ - name : " Checkout"
56+ uses : " actions/checkout@v2"
57+ with :
58+ fetch-depth : 2
59+
60+ - name : " Download coverage files"
61+ uses : " actions/download-artifact@v2"
62+ with :
63+ path : " reports"
64+
65+ - name : " Upload to Codecov"
66+ uses : " codecov/codecov-action@v1"
67+ with :
68+ directory : reports
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# Data Structures for PHP 7
22
3- [ ![ Build Status] ( https://travis-ci.org /php-ds/polyfill.svg?branch=master )] ( https://travis-ci.org /php-ds/polyfill )
3+ [ ![ Build Status] ( https://github.com /php-ds/polyfill/workflows/CI/badge .svg )] ( https://github.com /php-ds/polyfill/actions?query=workflow%3A%22CI%22+branch%3Amaster )
44[ ![ Packagist] ( https://img.shields.io/packagist/v/php-ds/php-ds.svg )] ( https://packagist.org/packages/php-ds/php-ds )
55
66This is a compatibility polyfill for the [ extension] ( https://github.com/php-ds/extension ) . You should include this package as a dependency of your project
You can’t perform that action at this time.
0 commit comments