Skip to content

Add reusable workflow to test Ledger applications #3

Add reusable workflow to test Ledger applications

Add reusable workflow to test Ledger applications #3

name: Build and run functional tests of Ledger owned applications
# 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' }}