Skip to content

Add reusable workflow to test Ledger applications #5

Add reusable workflow to test Ledger applications

Add reusable workflow to test Ledger applications #5

name: Build and run functional tests of Ledger owned applications

Check failure on line 1 in .github/workflows/reusable_test_ledger_applications.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/reusable_test_ledger_applications.yml

Invalid workflow file

too many workflows are referenced, total: 25, limit: 20
# This workflow will build Ledger owned applications and then run functional tests on them
on:
workflow_dispatch:
inputs:
golden_run:
type: choice
required: true
default: 'Raise an error (default)'
description: CI behavior if the test snaphots are different than expected.
options:
- 'Raise an error (default)'
- 'Open a PR'
push:
branches:
- master
- main
- develop
pull_request:
jobs:
ethereum:
name: Ethereum
uses: LedgerHQ/app-ethereum/.github/workflows/reusable_build_and_functional_tests.yml@fbe/reusable_entry_point_for_CI
with:
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}
bitcoin:
name: Bitcoin
uses: LedgerHQ/app-bitcoin-new/.github/workflows/reusable_build_and_functional_tests.yml@fbe/reusable_entry_point_for_CI
with:
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}
exchange:
name: Exchange
uses: LedgerHQ/app-exchange/.github/workflows/reusable_swap_functional_tests.yml@develop
with:
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}
boilerplate:
name: Boilerplate
uses: LedgerHQ/app-boilerplate/.github/workflows/reusable_build_and_functional_tests.yml@fbe/reusable_entry_point_for_CI
with:
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}
plugin_boilerplate:
name: Plugin Boilerplate
uses: LedgerHQ/app-plugin-boilerplate/.github/workflows/reusable_build_and_functional_tests.yml@fbe/reusable_entry_point_for_CI
with:
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}