CI Fix
This commit is contained in:
4
.github/workflows/ci-workflow.yml
vendored
4
.github/workflows/ci-workflow.yml
vendored
@@ -209,7 +209,7 @@ jobs:
|
||||
cd tests/ragger
|
||||
python3 -m venv ./venv
|
||||
. ./venv/bin/activate
|
||||
pip3 install --extra-index-url https://test.pypi.org/simple/ -r requirements.txt speculos
|
||||
pip3 install --extra-index-url https://test.pypi.org/simple/ -r requirements.txt
|
||||
# Used for the cache key
|
||||
echo "py_deps=$(pip freeze | md5sum | cut -d' ' -f1)" >> $GITHUB_ENV
|
||||
|
||||
@@ -275,4 +275,4 @@ jobs:
|
||||
run: |
|
||||
cd tests/ragger
|
||||
. ./venv/bin/activate
|
||||
pytest --path ./elfs --model ${{ matrix.model }}
|
||||
pytest --path ./elfs --model ${{ matrix.model }} -s -v
|
||||
|
||||
@@ -7,6 +7,7 @@ from ethereum_client.setting import SettingType, SettingImpl
|
||||
from ethereum_client.eip712 import EIP712FieldType
|
||||
from ethereum_client.response_parser import EthereumRespParser
|
||||
import signal
|
||||
import time
|
||||
|
||||
|
||||
class EthereumClient:
|
||||
@@ -92,6 +93,7 @@ class EthereumClient:
|
||||
|
||||
def eip712_sign_new(self, bip32):
|
||||
with self._send(self._cmd_builder.eip712_sign_new(bip32)):
|
||||
time.sleep(0.5) # tight on timing, needed by the CI otherwise might fail sometimes
|
||||
if not self._settings[SettingType.VERBOSE_EIP712].value and \
|
||||
not self._eip712_filtering: # need to skip the message hash
|
||||
self._client.right_click()
|
||||
|
||||
Reference in New Issue
Block a user