File tree Expand file tree Collapse file tree 2 files changed +35
-24
lines changed
Expand file tree Collapse file tree 2 files changed +35
-24
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - ' *'
7+ tags :
8+ - ' *'
9+ pull_request :
10+ branches :
11+ - ' *'
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ strategy :
17+ matrix :
18+ php : ['7.2', '7.3', '7.4']
19+ name : PHP ${{ matrix.php }}
20+ steps :
21+ - uses : actions/checkout@v1
22+ - uses : actions/cache@v1
23+ name : Cache dependencies
24+ with :
25+ path : ~/.composer/cache/files
26+ key : composer-php-${{ matrix.php }}-${{ hashFiles('composer.json') }}
27+ - name : Install dependencies
28+ run : |
29+ composer install --no-interaction --no-interaction --prefer-source
30+ - name : Run tests
31+ run : |
32+ phpunit --coverage-text --coverage-clover=coverage.xml
33+ - uses : codecov/codecov-action@v1
34+ with :
35+ fail_ci_if_error : true
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments