Skip to content
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

B2CA-901: improve ragger tests #554

Merged
merged 35 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
565c6fa
Update ragger test configuration and setup
cedelavergne-ledger Mar 25, 2024
fa3e87a
Fix pylint issues
cedelavergne-ledger Mar 26, 2024
140ecc7
Adapt 'ledger_app_clients'
cedelavergne-ledger Apr 3, 2024
6e47771
Port 'test_configuration_cmd' from 'speculos' to 'ragger'
cedelavergne-ledger Mar 25, 2024
91d73f9
Port 'test_pubkey_cmd' from 'speculos' to 'ragger'
cedelavergne-ledger Mar 27, 2024
8d0f798
Port 'test_sign_cmd' from 'speculos' to 'ragger'
cedelavergne-ledger Mar 28, 2024
7a608c4
Port 'test_eip2930' from 'speculos' to 'ragger'
cedelavergne-ledger Mar 28, 2024
0a42f62
Port 'test_eip1559' from 'speculos' to 'ragger'
cedelavergne-ledger Mar 28, 2024
5c3504a
Port 'old_test_eip191' from 'speculos' to 'ragger'
cedelavergne-ledger Mar 28, 2024
1ed560f
Port 'test_erc20information' from 'speculos' to 'ragger'
cedelavergne-ledger Mar 29, 2024
5d5b68f
Refactor of 'ragger' test 'eip712'
cedelavergne-ledger Mar 29, 2024
ed6d6b2
Remove useless 'speculos' tests eip712, erc721, erc1155
cedelavergne-ledger Mar 28, 2024
a532861
Remove 'speculos' tests
cedelavergne-ledger Mar 29, 2024
394a6c1
Remove useless 'zemu' tests eip1559 (already exists in 'ragger')
cedelavergne-ledger Apr 2, 2024
7ea7dfd
Remove useless 'zemu' tests erc721, erc1155
cedelavergne-ledger Apr 2, 2024
435544f
Remove useless 'zemu' tests eip191 (already exists in 'ragger')
cedelavergne-ledger Apr 2, 2024
be062b7
Remove useless 'zemu' tests approve_dai (already exists in 'ragger')
cedelavergne-ledger Apr 2, 2024
6decd30
Remove useless 'zemu' tests compound deposit - blind signing (already…
cedelavergne-ledger Apr 3, 2024
4fce1d4
Port 'send.test' from 'zemu' to 'ragger'
cedelavergne-ledger Apr 3, 2024
d1cdc6b
Port 'send_bsc.test' from 'zemu' to 'ragger'
cedelavergne-ledger Apr 3, 2024
fe1b387
Port 'chainid.test' from 'zemu' to 'ragger'
cedelavergne-ledger Apr 3, 2024
e6b2cf3
Port 'contract_data_warning.test' from 'zemu' to 'ragger'
cedelavergne-ledger Apr 3, 2024
d4b6e5c
Port 'send_etc.test' from 'zemu' to 'ragger'
cedelavergne-ledger Apr 4, 2024
5f7d312
Remove 'zemu' tests
cedelavergne-ledger Apr 8, 2024
da284a1
Update documentation
cedelavergne-ledger Apr 5, 2024
29630f9
Remove client installation, and use local module with symlink
cedelavergne-ledger Apr 9, 2024
ae6c7bf
Remove redundant test_eip1559
cedelavergne-ledger Apr 10, 2024
473c252
Remove redundant tests from test_sign
cedelavergne-ledger Apr 10, 2024
bce536c
remove redundant test_get_public_key
cedelavergne-ledger Apr 10, 2024
c75c687
Move test eip2930 to test_sign
cedelavergne-ledger Apr 10, 2024
f549117
Use settings_toggle function to simplify the code
cedelavergne-ledger Apr 10, 2024
962c9f3
Update amounts to smaller values to ease screen reading
cedelavergne-ledger Apr 11, 2024
152a332
Rename 'test_get_pk2' to 'test_get_eth2_pk' and use rather ETH2 publi…
cedelavergne-ledger Apr 10, 2024
8fcaf9f
Remove useless 'test_legacy_etc' ragger snapshots
cedelavergne-ledger Apr 10, 2024
c9436ab
Improve 'ROOT_SNAPSHOT_PATH' with latest ragger version
cedelavergne-ledger Apr 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 20 additions & 1 deletion .github/workflows/build_and_functional_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,30 @@ jobs:
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
upload_app_binaries_artifact: "ragger_elfs"
flags: "DEBUG=1 CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1"
flags: "CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1"

ragger_tests:
name: Run ragger tests using the reusable workflow
needs: build_application
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1
with:
download_app_binaries_artifact: "ragger_elfs"

build_clone_app:
name: Build Clone app using the reusable workflow
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
flags: "CHAIN=thundercore"
upload_app_binaries_artifact: "clone_elfs"

ragger_clone_tests:
name: Run ragger Clone tests using the reusable workflow
needs:
- build_application
- build_clone_app
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1
with:
download_app_binaries_artifact: "ragger_elfs"
additional_app_binaries_artifact: "clone_elfs"
additional_app_binaries_artifact_dir: ./tests/ragger/.test_dependencies/clone/build/
test_options: "--with_lib_mode"
137 changes: 0 additions & 137 deletions .github/workflows/ci-workflow.yml

This file was deleted.

Loading
Loading