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 23
23
strategy :
24
24
fail-fast : true
25
25
matrix :
26
- # php: [ ]
27
- # laravel: [ ]
28
- # stability: [ prefer-lowest, prefer-stable ]
26
+ # php: [ ]
27
+ # laravel: [ ]
28
+ # stability: [ prefer-lowest, prefer-stable ]
29
29
include :
30
30
# Laravel 5.5
31
31
- php : 7.1
@@ -120,11 +120,30 @@ jobs:
120
120
composer install --prefer-dist --no-progress --no-suggest
121
121
122
122
- name : Run test suite
123
- run : ./vendor/bin/phpunit
123
+ run : ./vendor/bin/phpunit -v
124
124
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 :
126
135
runs-on : ubuntu-latest
127
136
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 ]
128
147
steps :
129
148
- uses : actions/checkout@v2
130
149
- uses : actions/setup-node@v1
You can’t perform that action at this time.
0 commit comments