-
-
Notifications
You must be signed in to change notification settings - Fork 680
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: add hwi tests for core and legacy builds #2074
Conversation
Hi i found interesting outcomes of these tests. If I test it against released firmware everything passes
but if the tests run against latest master builds the test in the ci fails
could this be a valid error or is there something wrong with my ci setup? |
Hmm, the test case is using different method to connect to the emulator, it's almost as if it connected to wrong trezor and got wrong xpub. But there should be no other emulators running? Can you add https://github.com/bitcoin-core/HWI/blob/master/test/test_device.py#L178-L185 |
39b5c3a
to
bca547d
Compare
bca547d
to
b9cd0a3
Compare
The issue with Now it remains to figure out the |
4ad42f6
to
56a87be
Compare
56a87be
to
26538ab
Compare
26538ab
to
0eba4ca
Compare
No strong opinion on this but the test itself takes 8 minutes to run on TT (2m on T1) which is not that much so running it every time would be fine. |
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.
utACK from me, i'll leave merging to @mmilata
This pr adds hwi trezor test to our CI. Not sure if this is the best solution for adding the tests to our ci.
Also, If you have any idea how to not directly point to /nix/store for bitcoind binary, use a relative path so it doesn't break with each nix update. Suggestions welcome.