@@ -106,18 +106,11 @@ jobs:
106106
107107 - name : Run tests
108108 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
111110
112- - name : Send coverage report
113- uses : codecov/codecov-action@v1
111+ - name : Upload coverage report
112+ uses : codecov/codecov-action@v3
114113 if : ${{ always() }}
115- env :
116- PYTHON : ${{ matrix.python }}
117- with :
118- flags : tests
119- env_vars : PYTHON
120- name : ${{ matrix.python }}
121114
122115 msvc :
123116 runs-on : windows-latest
@@ -230,20 +223,9 @@ jobs:
230223
231224 - name : Run tests
232225 run : >-
233- python -m pytest --showlocals -vv --cov
234- --cov-report=xml:coverage-${{ matrix.python }}.xml
226+ python -m pytest --showlocals -vv
235227 shell : C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
236228
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-
247229 pyston :
248230 runs-on : ubuntu-20.04
249231 strategy :
@@ -275,18 +257,7 @@ jobs:
275257
276258 - name : Run tests
277259 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
290261
291262 homebrew :
292263 runs-on : macos-latest
@@ -324,18 +295,7 @@ jobs:
324295
325296 - name : Run tests
326297 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
339299
340300 mypy :
341301 runs-on : ubuntu-latest
@@ -356,9 +316,3 @@ jobs:
356316
357317 - name : Run mypy
358318 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