File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 2727 REVERSE : " --reverse"
2828 - python-version : " 3.8"
2929 PYTHONOPTIMIZE : 2
30- # Include new variables for Codecov
31- - os : ubuntu-latest
32- codecov-flag : GHA_Ubuntu
33- - os : macos-latest
34- codecov-flag : GHA_macOS
3530
3631 runs-on : ${{ matrix.os }}
3732 name : ${{ matrix.os }} Python ${{ matrix.python-version }}
@@ -104,9 +99,11 @@ jobs:
10499 .ci/after_success.sh
105100
106101 - name : Upload coverage
107- run : bash <(curl -s https://codecov.io/bash) -F ${{ matrix.codecov-flag }}
108- env :
109- CODECOV_NAME : ${{ matrix.os }} Python ${{ matrix.python-version }}
102+ uses : codecov/codecov-action@v3
103+ with :
104+ file : ./coverage.xml
105+ flags : ${{ matrix.os == 'macos-latest' && 'GHA_macOS' || 'GHA_Ubuntu' }}
106+ name : ${{ matrix.os }} Python ${{ matrix.python-version }}
110107
111108 success :
112109 needs : build
You can’t perform that action at this time.
0 commit comments