File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ codecov:
1111 notify_error : true # if uploads fail, replace cov comment with a comment with errors.
1212 require_ci_to_pass : false
1313
14+ # Publicly exposing the token has some small risks from mistakes or malicious actors.
15+ # See https://docs.codecov.com/docs/codecov-tokens for correctly configuring it.
16+ token : 87cefb17-c44b-4f2f-8b30-1fff5769ce46
17+
1418# only post PR comment if coverage changes
1519comment :
1620 require_changes : true
Original file line number Diff line number Diff line change 8585 uses : codecov/codecov-action@v3
8686 with :
8787 directory : empty
88- token : 87cefb17-c44b-4f2f-8b30-1fff5769ce46
8988 name : Windows (${{ matrix.python }}, ${{ matrix.arch }}${{ matrix.extra_name }})
89+ # this option cannot be set in .codecov.yml
90+ fail_ci_if_error : true
9091
9192 Ubuntu :
9293 name : ' Ubuntu (${{ matrix.python }}${{ matrix.extra_name }})'
@@ -134,8 +135,8 @@ jobs:
134135 uses : codecov/codecov-action@v3
135136 with :
136137 directory : empty
137- token : 87cefb17-c44b-4f2f-8b30-1fff5769ce46
138138 name : Ubuntu (${{ matrix.python }}${{ matrix.extra_name }})
139+ fail_ci_if_error : true
139140
140141 macOS :
141142 name : ' macOS (${{ matrix.python }})'
@@ -169,8 +170,8 @@ jobs:
169170 uses : codecov/codecov-action@v3
170171 with :
171172 directory : empty
172- token : 87cefb17-c44b-4f2f-8b30-1fff5769ce46
173173 name : macOS (${{ matrix.python }})
174+ fail_ci_if_error : true
174175
175176 # run CI on a musl linux
176177 Alpine :
@@ -194,8 +195,8 @@ jobs:
194195 uses : codecov/codecov-action@v3
195196 with :
196197 directory : empty
197- token : 87cefb17-c44b-4f2f-8b30-1fff5769ce46
198198 name : Alpine
199+ fail_ci_if_error : true
199200
200201 Cython :
201202 name : " Cython"
You can’t perform that action at this time.
0 commit comments