File tree Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Original file line number Diff line number Diff line change 2323 strategy :
2424 fail-fast : true
2525 matrix :
26- # php: [ ]
27- # laravel: [ ]
28- # stability: [ prefer-lowest, prefer-stable ]
26+ # php: [ ]
27+ # laravel: [ ]
28+ # stability: [ prefer-lowest, prefer-stable ]
2929 include :
3030 # Laravel 5.5
3131 - php : 7.1
@@ -120,11 +120,30 @@ jobs:
120120 composer install --prefer-dist --no-progress --no-suggest
121121
122122 - name : Run test suite
123- run : ./vendor/bin/phpunit
123+ run : ./vendor/bin/phpunit -v
124124
125- semantic-release :
125+ - name : Run Coveralls
126+ env :
127+ COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
128+ COVERALLS_PARALLEL : true
129+ COVERALLS_FLAG_NAME : ${{ runner.os }} - ${{ matrix.php }} - Laravel${{ matrix.laravel }}
130+ run : |
131+ composer global require php-coveralls/php-coveralls:^2.4
132+ php-coveralls --coverage_clover=build/logs/clover.xml -v
133+
134+ upload-coverage :
126135 runs-on : ubuntu-latest
127136 needs : [ test ]
137+ steps :
138+ - name : Coveralls Finished
139+ uses : coverallsapp/github-action@master
140+ with :
141+ github-token : ${{ secrets.GITHUB_TOKEN }}
142+ parallel-finished : true
143+
144+ semantic-release :
145+ runs-on : ubuntu-latest
146+ needs : [ test, upload-coverage ]
128147 steps :
129148 - uses : actions/checkout@v2
130149 - uses : actions/setup-node@v1
You can’t perform that action at this time.
0 commit comments