File tree 2 files changed +25
-4
lines changed
2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -200,10 +200,18 @@ jobs:
200
200
201
201
202
202
coverage :
203
- name : Process test coverage
203
+ name : Process test coverage (${{ matrix.plex }})
204
204
runs-on : ubuntu-latest
205
205
needs : pytest
206
206
if : always()
207
+ strategy :
208
+ matrix :
209
+ plex : ['unclaimed', 'claimed']
210
+ is-master :
211
+ - ${{ github.ref == 'refs/heads/master' }}
212
+ exclude :
213
+ - is-master : false
214
+ plex : claimed
207
215
steps :
208
216
- name : Check out code from GitHub
209
217
uses : actions/checkout@v2
@@ -235,12 +243,14 @@ jobs:
235
243
- name : Download all coverage artifacts
236
244
uses : actions/download-artifact@v2
237
245
238
- - name : Combine coverage results
246
+ - name : Combine ${{ matrix.plex }} coverage results
239
247
run : |
240
248
. venv/bin/activate
241
- coverage combine coverage*/.coverage*
249
+ coverage combine coverage-${{ matrix.plex }} */.coverage*
242
250
coverage report --fail-under=50
243
251
coverage xml
244
252
245
- - name : Upload coverage to Codecov
253
+ - name : Upload ${{ matrix.plex }} coverage to Codecov
246
254
uses : codecov/codecov-action@v1
255
+ with :
256
+ flags : ${{ matrix.plex }}
Original file line number Diff line number Diff line change
1
+ codecov :
2
+ branch : master
3
+
4
+ coverage :
5
+ status :
6
+ project :
7
+ default :
8
+ target : auto
9
+ threshold : 10%
10
+
11
+ comment : true
You can’t perform that action at this time.
0 commit comments