Skip to content

Merge pull request #216 from LedgerHQ/fbe/golden_run_CI #1374

Merge pull request #216 from LedgerHQ/fbe/golden_run_CI

Merge pull request #216 from LedgerHQ/fbe/golden_run_CI #1374

Workflow file for this run

name: Compilation & 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
- develop
pull_request:
jobs:
job_swap_functional_tests:
name: Build and test
uses: ./.github/workflows/reusable_swap_functional_tests.yml
with:
branch_for_exchange: ${{ github.ref }}
test_filter: "'not polkadot'"
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}