-
-
Notifications
You must be signed in to change notification settings - Fork 672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: fix JSONDecodeError
when combining .coverage.gw*
files
#4557
Conversation
|
Coverage upload & download seems to be working: Device tests (T2T1, universal, noasan, en)
Device tests (T2T1, btconly, noasan, en)
|
Adding |
b2d3a0c
to
a14ead4
Compare
Rebased over #4558 due to translated UI tests failure. |
Coverage report seems to work with translations as well:
|
BTW, the issue reproduced here (before this fix is applied): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, this was bugging me for a long time but never realized it's because of a filename clash ... thanks!
For example: https://github.com/trezor/trezor-firmware/actions/runs/12976369614/job/36188913357 Single `.coverage` files were renamed, but `make test_emu_ui_multicore` generates multiple `.coverage.gw*` files, which may overwrite each other in case there are multiple similar CI jobs (e.g. when translation-related jobs are enabled). [no changelog]
a14ead4
to
8083205
Compare
Rebased:
|
For example: https://github.com/trezor/trezor-firmware/actions/runs/12976369614/job/36188913357
Single
.coverage
files were renamed, butmake test_emu_ui_multicore
generates multiple.coverage.gw*
files, which may overwrite each other in case there are multiple similar CI jobs (e.g. when translation-related jobs are enabled).