|
88 | 88 | name: Windows (${{ matrix.python }}, ${{ matrix.arch }}${{ matrix.extra_name }}) |
89 | 89 | # multiple flags is marked as an error in codecov UI, but is actually fine |
90 | 90 | # https://github.com/codecov/feedback/issues/567 |
91 | | - flags: Windows,${{ matrix.python }} |
| 91 | + flags: pytest,Windows,${{ matrix.python }} |
92 | 92 | # this option cannot be set in .codecov.yml |
93 | 93 | fail_ci_if_error: true |
94 | 94 |
|
@@ -141,8 +141,18 @@ jobs: |
141 | 141 | with: |
142 | 142 | directory: empty |
143 | 143 | name: Ubuntu (${{ matrix.python }}${{ matrix.extra_name }}) |
144 | | - flags: Ubuntu,${{ matrix.python }} |
| 144 | + flags: pytest,Ubuntu,${{ matrix.python }} |
145 | 145 | fail_ci_if_error: true |
| 146 | + - if: >- |
| 147 | + always() |
| 148 | + && matrix.check_formatting == '1' |
| 149 | + uses: codecov/codecov-action@v5 |
| 150 | + with: |
| 151 | + disable_search: true |
| 152 | + files: empty/mypy-cov-*-py-*/* |
| 153 | + flags: MyPy |
| 154 | + fail_ci_if_error: true |
| 155 | + name: MyPy type coverage |
146 | 156 |
|
147 | 157 | macOS: |
148 | 158 | name: 'macOS (${{ matrix.python }})' |
@@ -177,7 +187,7 @@ jobs: |
177 | 187 | with: |
178 | 188 | directory: empty |
179 | 189 | name: macOS (${{ matrix.python }}) |
180 | | - flags: macOS,${{ matrix.python }} |
| 190 | + flags: pytest,macOS,${{ matrix.python }} |
181 | 191 | fail_ci_if_error: true |
182 | 192 |
|
183 | 193 | # run CI on a musl linux |
@@ -206,7 +216,7 @@ jobs: |
206 | 216 | with: |
207 | 217 | directory: empty |
208 | 218 | name: Alpine |
209 | | - flags: Alpine,${{ steps.get-version.outputs.version }} |
| 219 | + flags: pytest,Alpine,${{ steps.get-version.outputs.version }} |
210 | 220 | fail_ci_if_error: true |
211 | 221 |
|
212 | 222 | Cython: |
@@ -260,7 +270,7 @@ jobs: |
260 | 270 | uses: codecov/codecov-action@v5 |
261 | 271 | with: |
262 | 272 | name: Cython |
263 | | - flags: Cython,${{ steps.get-version.outputs.version }} |
| 273 | + flags: pytest,Cython,${{ steps.get-version.outputs.version }} |
264 | 274 | fail_ci_if_error: true |
265 | 275 |
|
266 | 276 | # https://github.com/marketplace/actions/alls-green#why |
|
0 commit comments