File tree Expand file tree Collapse file tree 4 files changed +12
-15
lines changed Expand file tree Collapse file tree 4 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 7979 MATRIX_DOCKER : ${{ matrix.docker }}
8080
8181 - name : Upload coverage
82- uses : codecov/codecov-action@v1
82+ uses : codecov/codecov-action@v3
8383 with :
8484 flags : GHA_Docker
8585 name : ${{ matrix.docker }}
Original file line number Diff line number Diff line change @@ -73,11 +73,11 @@ jobs:
7373 python3 -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
7474
7575 - name : Upload coverage
76- run : |
77- python3 -m pip install codecov
78- bash <(curl -s https://codecov.io/bash) -F GHA_Windows
79- env :
80- CODECOV_NAME : ${{ matrix.name }}
76+ uses : codecov/codecov-action@v3
77+ with :
78+ file : ./coverage.xml
79+ flags : GHA_Windows
80+ name : ${{ matrix.name }}
8181
8282 success :
8383 permissions :
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ jobs:
171171 shell : pwsh
172172
173173 - name : Upload coverage
174- uses : codecov/codecov-action@v1
174+ uses : codecov/codecov-action@v3
175175 with :
176176 file : ./coverage.xml
177177 flags : GHA_Windows
Original file line number Diff line number Diff line change 3030 REVERSE : " --reverse"
3131 - python-version : " 3.8"
3232 PYTHONOPTIMIZE : 2
33- # Include new variables for Codecov
34- - os : ubuntu-latest
35- codecov-flag : GHA_Ubuntu
36- - os : macos-latest
37- codecov-flag : GHA_macOS
3833
3934 runs-on : ${{ matrix.os }}
4035 name : ${{ matrix.os }} Python ${{ matrix.python-version }}
@@ -107,9 +102,11 @@ jobs:
107102 .ci/after_success.sh
108103
109104 - name : Upload coverage
110- run : bash <(curl -s https://codecov.io/bash) -F ${{ matrix.codecov-flag }}
111- env :
112- CODECOV_NAME : ${{ matrix.os }} Python ${{ matrix.python-version }}
105+ uses : codecov/codecov-action@v3
106+ with :
107+ file : ./coverage.xml
108+ flags : ${{ matrix.os == 'macos-latest' && 'GHA_macOS' || 'GHA_Ubuntu' }}
109+ name : ${{ matrix.os }} Python ${{ matrix.python-version }}
113110
114111 success :
115112 permissions :
You can’t perform that action at this time.
0 commit comments