Make sure to return an error if a Thorchain swap is attempted on Nano S #1411
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | |
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }} |