File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : PHP Unit Tests
2+
3+ on :
4+ - push
5+ - pull_request
6+
7+ jobs :
8+ test :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ php-version :
13+ - ' 5.5'
14+ - ' 5.6'
15+ - ' 7.0'
16+ include :
17+ - php-version : ' 7.0'
18+ allow_failure : true
19+ continue-on-error : ${{ matrix.allow_failure || false }}
20+ steps :
21+ - uses : actions/checkout@v4
22+ - uses : shivammathur/setup-php@v2
23+ with :
24+ coverage : xdebug
25+ extensions : gd, json, mbstring
26+ php-version : ${{ matrix.php-version }}
27+ - run : composer install --no-interaction --prefer-dist
28+ - run : vendor/bin/phpunit
29+ - uses : codecov/codecov-action@v5
30+ if : success()
31+ with :
32+ token : ${{ secrets.CODECOV_TOKEN }}
33+ - uses : coverallsapp/github-action@v2
34+ if : success()
You can’t perform that action at this time.
0 commit comments