From 90478dc201342c2d17b6947bc78dfc068e9a2374 Mon Sep 17 00:00:00 2001 From: Francois Beutin Date: Fri, 5 Jan 2024 17:19:04 +0100 Subject: [PATCH] Configurable lib repository in CI --- .../reusable_swap_functional_tests.yml | 70 +++++++++++++++---- 1 file changed, 58 insertions(+), 12 deletions(-) diff --git a/.github/workflows/reusable_swap_functional_tests.yml b/.github/workflows/reusable_swap_functional_tests.yml index 8900d8b5..59942137 100644 --- a/.github/workflows/reusable_swap_functional_tests.yml +++ b/.github/workflows/reusable_swap_functional_tests.yml @@ -7,42 +7,88 @@ on: required: false default: 'develop' type: string + branch_for_stellar: required: false default: 'develop' type: string + repo_for_stellar: + required: false + default: 'app-stellar' + type: string + branch_for_tezos: required: false default: 'develop' type: string + repo_for_tezos: + required: false + default: 'app-tezos' + type: string + branch_for_xrp: required: false default: 'develop' type: string + repo_for_xrp: + required: false + default: 'app-xrp' + type: string + branch_for_ethereum: required: false default: 'develop' type: string + repo_for_ethereum: + required: false + default: 'app-ethereum' + type: string + branch_for_bitcoin_legacy: required: false default: 'develop' type: string + repo_for_bitcoin_legacy: + required: false + default: 'app-bitcoin' + type: string + branch_for_bitcoin: required: false default: 'develop' type: string + repo_for_bitcoin: + required: false + default: 'app-bitcoin-new' + type: string + branch_for_solana: required: false default: 'develop' type: string + repo_for_solana: + required: false + default: 'app-solana' + type: string + branch_for_polkadot: required: false default: 'develop' type: string + repo_for_polkadot: + required: false + default: 'app-polkadot' + type: string + branch_for_tron: required: false default: 'develop' type: string + repo_for_tron: + required: false + default: 'app-tron' + type: string + test_filter: required: false default: '""' @@ -56,40 +102,40 @@ jobs: matrix: coin: - name: stellar - repo: app-stellar + repo: ${{ inputs.repo_for_stellar }} branch: ${{ inputs.branch_for_stellar }} - name: tezos - repo: app-tezos + repo: ${{ inputs.repo_for_tezos }} branch: ${{ inputs.branch_for_tezos }} - name: xrp - repo: app-xrp + repo: ${{ inputs.repo_for_xrp }} branch: ${{ inputs.branch_for_xrp }} - name: ethereum - repo: app-ethereum + repo: ${{ inputs.repo_for_ethereum }} branch: ${{ inputs.branch_for_ethereum }} - name: ethereum_classic - repo: app-ethereum + repo: ${{ inputs.repo_for_ethereum }} branch: ${{ inputs.branch_for_ethereum }} - name: litecoin - repo: app-bitcoin + repo: ${{ inputs.repo_for_bitcoin_legacy }} branch: ${{ inputs.branch_for_bitcoin_legacy }} - name: bitcoin_legacy - repo: app-bitcoin + repo: ${{ inputs.repo_for_bitcoin_legacy }} branch: ${{ inputs.branch_for_bitcoin_legacy }} - name: bitcoin - repo: app-bitcoin-new + repo: ${{ inputs.repo_for_bitcoin }} branch: ${{ inputs.branch_for_bitcoin }} - name: solana - repo: app-solana + repo: ${{ inputs.repo_for_solana }} branch: ${{ inputs.branch_for_solana }} - name: bsc - repo: app-ethereum + repo: ${{ inputs.repo_for_ethereum }} branch: ${{ inputs.branch_for_ethereum }} - name: DOT - repo: app-polkadot + repo: ${{ inputs.repo_for_polkadot }} branch: ${{ inputs.branch_for_polkadot }} - name: tron - repo: app-tron + repo: ${{ inputs.repo_for_tron }} branch: ${{ inputs.branch_for_tron }} uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1