Skip to content

Commit cf88736

Browse files
Add reusable workflow to test Ledger applications
1 parent 9f540fc commit cf88736

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build and run functional tests of Ledger owned applications
2+
3+
# This workflow will build Ledger owned applications and then run functional tests on them
4+
5+
on:
6+
workflow_dispatch:
7+
inputs:
8+
golden_run:
9+
type: choice
10+
required: true
11+
default: 'Raise an error (default)'
12+
description: CI behavior if the test snaphots are different than expected.
13+
options:
14+
- 'Raise an error (default)'
15+
- 'Open a PR'
16+
push:
17+
branches:
18+
- master
19+
- main
20+
- develop
21+
pull_request:
22+
23+
jobs:
24+
ethereum:
25+
name: Ethereum
26+
uses: LedgerHQ/app-ethereum/.github/workflows/reusable_build_and_functional_tests.yml@fbe/reusable_entry_point_for_CI
27+
with:
28+
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}
29+
30+
bitcoin:
31+
name: Bitcoin
32+
uses: LedgerHQ/app-bitcoin-new/.github/workflows/reusable_build_and_functional_tests.yml@fbe/reusable_entry_point_for_CI
33+
with:
34+
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}
35+
36+
exchange:
37+
name: Exchange
38+
uses: LedgerHQ/app-exchange/.github/workflows/reusable_build_and_functional_tests.yml@develop
39+
with:
40+
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}

0 commit comments

Comments
 (0)