@@ -215,7 +215,7 @@ jobs:
215215 name : Windows (${{ matrix.python }}, ${{ matrix.arch }}${{ matrix.extra_name }})
216216 # multiple flags is marked as an error in codecov UI, but is actually fine
217217 # https://github.com/codecov/feedback/issues/567
218- flags : Windows,${{ matrix.python }}
218+ flags : pytest, Windows,${{ matrix.python }}
219219 # this option cannot be set in .codecov.yml
220220 fail_ci_if_error : true
221221
@@ -278,8 +278,18 @@ jobs:
278278 with:
279279 directory: empty
280280 name: Ubuntu (${{ matrix.python }}${{ matrix.extra_name }})
281- flags: Ubuntu,${{ matrix.python }}
281+ flags: pytest, Ubuntu,${{ matrix.python }}
282282 fail_ci_if_error: true
283+ - if : >-
284+ always()
285+ && matrix.check_formatting == '1'
286+ uses: codecov/codecov-action@v5
287+ with:
288+ disable_search: true
289+ files: empty/mypy-cov-*-py-*/*
290+ flags: MyPy
291+ fail_ci_if_error: true
292+ name: MyPy type coverage
283293
284294 macOS :
285295 name : ' macOS (${{ matrix.python }})'
@@ -320,7 +330,7 @@ jobs:
320330 with :
321331 directory : empty
322332 name : macOS (${{ matrix.python }})
323- flags : macOS,${{ matrix.python }}
333+ flags : pytest, macOS,${{ matrix.python }}
324334 fail_ci_if_error : true
325335
326336 # run CI on a musl linux
@@ -356,7 +366,7 @@ jobs:
356366 with :
357367 directory : empty
358368 name : Alpine
359- flags : Alpine,${{ steps.get-version.outputs.version }}
369+ flags : pytest, Alpine,${{ steps.get-version.outputs.version }}
360370 fail_ci_if_error : true
361371
362372 Cython :
@@ -416,7 +426,7 @@ jobs:
416426 uses : codecov/codecov-action@v5
417427 with :
418428 name : Cython
419- flags : Cython,${{ steps.get-version.outputs.version }}
429+ flags : pytest, Cython,${{ steps.get-version.outputs.version }}
420430 fail_ci_if_error : true
421431
422432 # https://github.com/marketplace/actions/alls-green#why
0 commit comments