-
-
Notifications
You must be signed in to change notification settings - Fork 658
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
Grdddj/core unit tests cleanup #2196
Conversation
9340c34
to
ba2281a
Compare
Force-pushed new changes done on the latest Also, in addition to styling/code quality changes, allowing unit-tests for |
ba2281a
to
781e4b1
Compare
I rebased the branch on current In order to add
This PR also adds build and test targets specific for TS3. If CI checks pass, I suggest to merge to partially improve the style of tests nad fix the issues later. |
781e4b1
to
d25139a
Compare
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.
With the limitations highlighted in my previous comment, fine by me.
please also add this to Github Actions config. the gitlab CI is kind-of deprecated |
I added As per #2724 also |
rust-client is failing:
this is super uninteresting, let's just disable rust-client on T2B1 for now firmware clippy tests are also failing:
i've seen this before but I don't remember what it's about, investigate pls? |
....on second thought, maybe first rebase on current main (feel free to squash all the fixups now) and see if the error goes away |
d34a78e
to
101043a
Compare
rebased (with |
101043a
to
30293c7
Compare
Fixed the uninteresting part ( The 2nd one (rust unit tests) still fails.
Btw. this line is hellish 😆 |
I briefly looked into this error and my suspicion is that it's a clippy version problem. I can randomly reproduce it locally when I manage to tell Rust to ignore my local versions of clippy and use the one from nix-shell, but even let's mark the test as allowed-to-fail, and see if #3337 helps |
4859637
to
609d4d5
Compare
I rebased and excluded Apparently, GH Actions currently don't have "allow failure" feature..? actions/runner#2347 |
609d4d5
to
c52ae73
Compare
[no changelog]
[no changelog]
…r TR [no changelog]
[no changelog]
isort set to skip the first necessary "from common import *" line. A better solution would be to get rid of the need of this import in the future. [no changelog]
Disable some tests of unsupported coins for TS3. [no changelog]
[no changelog]
[no changelog]
[no changelog]
c52ae73
to
61219e4
Compare
rebased again because of omitted trailing whitespace in |
OK then, ship it |
Quick code and style improvements of
unit-tests
connected with #2193We might not include the
black
changes, which have a very big diff - but they will decrease any future diffs when modifying the test cases