From 4eb6252b5cb1941b5226d7b8c387d4a512a2d3fc Mon Sep 17 00:00:00 2001 From: Francois Beutin Date: Wed, 17 Apr 2024 15:53:53 +0200 Subject: [PATCH] Add boilerplate and plugin boilerplate ragger tests in the CI --- .github/workflows/build_and_tests.yml | 48 +++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/.github/workflows/build_and_tests.yml b/.github/workflows/build_and_tests.yml index 14687652..86416021 100644 --- a/.github/workflows/build_and_tests.yml +++ b/.github/workflows/build_and_tests.yml @@ -137,3 +137,51 @@ jobs: files: | LICENSE dist/ + + ##################################### + ######### Boilerplate tests ######### + ##################################### + + ragger_tests_boilerplate: + name: Run ragger tests using the reusable workflow + needs: build_boilerplate_application + uses: ./.github/workflows/reusable_ragger_tests.yml + with: + app_repository: LedgerHQ/app-boilerplate + app_branch_name: master + download_app_binaries_artifact: "boilerplate_binaries" + + ############################################ + ######### Plugin Boilerplate tests ######### + ############################################ + + build_plugin_boilerplate: + name: Build plugin using the reusable workflow + uses: ./.github/workflows/reusable_build.yml + with: + app_repository: LedgerHQ/app-plugin-boilerplate + app_branch_name: develop + upload_app_binaries_artifact: plugin_boilerplate_binaries + flags: "DEBUG=1" + + build_develop_ethereum_app: + name: Build Ethereum app using the reusable workflow + uses: ./.github/workflows/reusable_build.yml + with: + app_repository: LedgerHQ/app-ethereum + app_branch_name: develop + flags: "DEBUG=1 CAL_TEST_KEY=1" + upload_app_binaries_artifact: ethereum_build_develop + + ragger_tests_plugin_boilerplate: + name: Run ragger tests using the reusable workflow + needs: + - build_plugin_boilerplate + - build_develop_ethereum_app + uses: ./.github/workflows/reusable_ragger_tests.yml + with: + app_repository: LedgerHQ/app-plugin-boilerplate + app_branch_name: develop + download_app_binaries_artifact: plugin_boilerplate_binaries + additional_app_binaries_artifact: ethereum_build_develop + additional_app_binaries_artifact_dir: ./tests/.test_dependencies/ethereum/build