File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 8686 with :
8787 directory : empty
8888 name : Windows (${{ matrix.python }}, ${{ matrix.arch }}${{ matrix.extra_name }})
89+ # multiple flags is marked as an error in codecov UI, but is actually fine
90+ # https://github.com/codecov/feedback/issues/567
91+ flags : Windows,${{ matrix.python }}
8992 # this option cannot be set in .codecov.yml
9093 fail_ci_if_error : true
9194
@@ -136,6 +139,7 @@ jobs:
136139 with :
137140 directory : empty
138141 name : Ubuntu (${{ matrix.python }}${{ matrix.extra_name }})
142+ flags : Ubuntu,${{ matrix.python }}
139143 fail_ci_if_error : true
140144
141145 macOS :
@@ -171,6 +175,7 @@ jobs:
171175 with :
172176 directory : empty
173177 name : macOS (${{ matrix.python }})
178+ flags : macOS,${{ matrix.python }}
174179 fail_ci_if_error : true
175180
176181 # run CI on a musl linux
@@ -191,11 +196,15 @@ jobs:
191196 run : python -m venv .venv
192197 - name : Run tests
193198 run : source .venv/bin/activate && ./ci.sh
199+ - name : Get Python version for codecov flag
200+ id : get-version
201+ run : echo "version=$(python -V | cut -d' ' -f2 | cut -d'.' -f1,2)" > $GITHUB_OUTPUT
194202 - if : always()
195203 uses : codecov/codecov-action@v3
196204 with :
197205 directory : empty
198206 name : Alpine
207+ flags : Alpine,${{ steps.get-version.outputs.version }}
199208 fail_ci_if_error : true
200209
201210 Cython :
You can’t perform that action at this time.
0 commit comments