Use latest version for Speculos and Ragger
This commit is contained in:
3
.github/workflows/ci-workflow.yml
vendored
3
.github/workflows/ci-workflow.yml
vendored
@@ -128,6 +128,7 @@ jobs:
|
||||
jobs-e2e-speculos-tests:
|
||||
name: Speculos tests
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
model: ["nanosp", "nanos", "nanox"]
|
||||
|
||||
@@ -153,7 +154,7 @@ jobs:
|
||||
run: |
|
||||
cd tests/speculos
|
||||
sudo apt-get update && sudo apt-get install -y qemu-user-static
|
||||
pip install --extra-index-url https://test.pypi.org/simple/ -r requirements.txt
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Run speculos tests
|
||||
run: |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
ragger[speculos]>=1.7.0,<1.8.0
|
||||
ragger[speculos]
|
||||
pytest
|
||||
ecdsa
|
||||
simple-rlp
|
||||
|
||||
@@ -11,9 +11,8 @@ These tests are implemented in Python with the `SpeculosClient` interface which
|
||||
Python dependencies are listed in [requirements.txt](requirements.txt)
|
||||
|
||||
```shell
|
||||
python3 -m pip install --extra-index-url https://test.pypi.org/simple/ -r requirements.txt
|
||||
python3 -m pip install -r requirements.txt
|
||||
```
|
||||
> The extra index allows to fetch the latest version of Speculos.
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -47,4 +46,4 @@ pytest --model nanox --path ./elfs/nanox.elf
|
||||
|
||||
# Execute specific test:
|
||||
pytest --model nanox --path ./elfs/nanox.elf test_pubkey_cmd.py
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user