Skip to content

Commit e018f4a

Browse files
committed
test(ci): workaround codecov artifact signing errors
see: codecov/codecov-action#1940 (comment) (solution from commits linked to issue + working per observed CI run status)
1 parent 20ae836 commit e018f4a

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/tests_emulator.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,4 +249,8 @@ jobs:
249249
- uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
250250
with:
251251
verbose: true
252-
fail_ci_if_error: ${{ github.repository == 'ankidroid/Anki-Android' }} # optional (default = false)
252+
fail_ci_if_error: ${{ github.repository == 'ankidroid/Anki-Android' }} # optional (default = false)
253+
# See https://github.com/codecov/codecov-action/issues/1940#issuecomment-4639834138
254+
# ...and related commits. This uses a different install path to get the artifact so it has a valid signature
255+
# without this as of 20260607 codecov fails signature verification and fails the build
256+
use_pypi: true

.github/workflows/tests_unit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,3 +199,7 @@ jobs:
199199
with:
200200
verbose: true
201201
fail_ci_if_error: ${{ github.repository == 'ankidroid/Anki-Android' }} # optional (default = false)
202+
# See https://github.com/codecov/codecov-action/issues/1940#issuecomment-4639834138
203+
# ...and related commits. This uses a different install path to get the artifact so it has a valid signature
204+
# without this as of 20260607 codecov fails signature verification and fails the build
205+
use_pypi: true

0 commit comments

Comments
 (0)