Skip to content

Adding fees to test scheme. #1612

Adding fees to test scheme.

Adding fees to test scheme. #1612

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 }}
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}
build_production_application:
name: Build application using the reusable workflow
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
# No flags
upload_app_binaries_artifact: "exchange_production_build"
ragger_production_tests:
name: Run ragger tests using the reusable workflow
needs: build_production_application
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1
with:
test_options: "--setup prod_build"
download_app_binaries_artifact: "exchange_production_build"
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}