Port 'send_etc.test' from 'zemu' to 'ragger'
- Port test config from 'zemu' - Copy snapshots from 'zemu' - Adapt conftest.py to support library mode - Add a new test step in the workflow
This commit is contained in:
21
.github/workflows/build_and_functional_tests.yml
vendored
21
.github/workflows/build_and_functional_tests.yml
vendored
@@ -23,7 +23,7 @@ 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
|
||||
@@ -31,3 +31,22 @@ jobs:
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user