@@ -106,18 +106,11 @@ jobs:
106
106
107
107
- name : Run tests
108
108
run : >-
109
- python -m pytest --showlocals -vv --cov
110
- --cov-report=xml:coverage-${{ matrix.python }}.xml
109
+ python -m pytest --showlocals -vv --cov --cov-report=xml
111
110
112
- - name : Send coverage report
113
- uses : codecov/codecov-action@v1
111
+ - name : Upload coverage report
112
+ uses : codecov/codecov-action@v3
114
113
if : ${{ always() }}
115
- env :
116
- PYTHON : ${{ matrix.python }}
117
- with :
118
- flags : tests
119
- env_vars : PYTHON
120
- name : ${{ matrix.python }}
121
114
122
115
msvc :
123
116
runs-on : windows-latest
@@ -230,20 +223,9 @@ jobs:
230
223
231
224
- name : Run tests
232
225
run : >-
233
- python -m pytest --showlocals -vv --cov
234
- --cov-report=xml:coverage-${{ matrix.python }}.xml
226
+ python -m pytest --showlocals -vv
235
227
shell : C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
236
228
237
- - name : Send coverage report
238
- uses : codecov/codecov-action@v1
239
- if : ${{ always() }}
240
- env :
241
- PYTHON : cygwin-${{ matrix.python }}
242
- with :
243
- flags : tests
244
- env_vars : PYTHON
245
- name : cygwin-${{ matrix.python }}
246
-
247
229
pyston :
248
230
runs-on : ubuntu-20.04
249
231
strategy :
@@ -275,18 +257,7 @@ jobs:
275
257
276
258
- name : Run tests
277
259
run : >-
278
- pyston -m pytest --showlocals -vv --cov
279
- --cov-report=xml:coverage-pyston.xml
280
-
281
- - name : Send coverage report
282
- uses : codecov/codecov-action@v1
283
- if : ${{ always() }}
284
- env :
285
- PYTHON : pyston
286
- with :
287
- flags : tests
288
- env_vars : PYTHON
289
- name : pyston
260
+ pyston -m pytest --showlocals -vv
290
261
291
262
homebrew :
292
263
runs-on : macos-latest
@@ -324,18 +295,7 @@ jobs:
324
295
325
296
- name : Run tests
326
297
run : >-
327
- python -m pytest --showlocals -vv --cov
328
- --cov-report=xml:coverage-homebrew-${{ matrix.python }}.xml
329
-
330
- - name : Send coverage report
331
- uses : codecov/codecov-action@v1
332
- if : ${{ always() }}
333
- env :
334
- PYTHON : homebrew-${{ matrix.python }}
335
- with :
336
- flags : tests
337
- env_vars : PYTHON
338
- name : homebrew-${{ matrix.python }}
298
+ python -m pytest --showlocals -vv
339
299
340
300
mypy :
341
301
runs-on : ubuntu-latest
@@ -356,9 +316,3 @@ jobs:
356
316
357
317
- name : Run mypy
358
318
run : mypy -p mesonpy
359
-
360
- # tests-pass:
361
- # needs: [test, cygwin, pyston, homebrew, mypy]
362
- # runs-on: ubuntu-latest
363
- # steps:
364
- # - run: echo "All jobs passed"
0 commit comments