Skip to content

Commit

Permalink
Add boilerplate and plugin boilerplate ragger tests in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeutin-ledger committed Apr 17, 2024
1 parent 3fd293e commit 4eb6252
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/build_and_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4eb6252

Please sign in to comment.