We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ce6a28 + 343d6da commit cb25636Copy full SHA for cb25636
.github/workflows/build_and_functional_tests.yml
@@ -10,6 +10,15 @@ name: Build and run functional tests using ragger through reusable workflow
10
11
on:
12
workflow_dispatch:
13
+ inputs:
14
+ golden_run:
15
+ type: choice
16
+ required: true
17
+ default: 'Raise an error (default)'
18
+ description: CI behavior if the test snaphots are different than expected.
19
+ options:
20
+ - 'Raise an error (default)'
21
+ - 'Open a PR'
22
push:
23
branches:
24
- master
@@ -31,3 +40,4 @@ jobs:
31
40
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1
32
41
with:
33
42
download_app_binaries_artifact: "compiled_app_binaries"
43
+ regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}
0 commit comments