Skip to content

Merge pull request #21 from LedgerHQ/auto/update_snapshots-be8b2dc #62

Merge pull request #21 from LedgerHQ/auto/update_snapshots-be8b2dc

Merge pull request #21 from LedgerHQ/auto/update_snapshots-be8b2dc #62

name: Ragger functional tests
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:
build_application:
name: Build application
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
upload_app_binaries_artifact: "compiled_app_binaries"
ragger_tests:
name: Run ragger tests
needs: build_application
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1
with:
download_app_binaries_artifact: "compiled_app_binaries"
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}