Skip to content

Commit

Permalink
Add a way to choose the device for which CI ragger tests will be run
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Sep 14, 2023
1 parent 7b3fbda commit 5151ee4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/reusable_swap_functional_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ on:
required: false
default: 'develop'
type: string
run_for_devices:
description: 'The list of device(s) on which the test will run (defaults to ["nanos", "nanox", "nanosp", "stax"])'
required: false
default: '["nanos", "nanox", "nanosp", "stax"]'
type: string
test_filter:
required: false
default: '""'
Expand Down Expand Up @@ -112,6 +117,7 @@ jobs:
flags: "COIN=${{ matrix.coin.name }} CHAIN=${{ matrix.coin.name }} DEBUG=1"
upload_app_binaries_artifact: libraries_binaries
upload_as_lib_artifact: ${{ matrix.coin.name }}
run_for_devices: ${{ inputs.run_for_devices }}

build_exchange_application:
name: Build application using the reusable workflow
Expand All @@ -121,6 +127,7 @@ jobs:
app_branch_name: ${{ inputs.branch_for_exchange }}
flags: "TESTING=1 TEST_PUBLIC_KEY=1 DEBUG=1"
upload_app_binaries_artifact: exchange_binaries
run_for_devices: ${{ inputs.run_for_devices }}

ragger_tests:
name: Run ragger tests using the reusable workflow
Expand All @@ -134,6 +141,7 @@ jobs:
download_app_binaries_artifact: exchange_binaries
lib_binaries_artifact: libraries_binaries
test_dir: test/python
run_for_devices: ${{ inputs.run_for_devices }}
test_filter: ${{ inputs.test_filter }}

# Legacy
Expand Down

0 comments on commit 5151ee4

Please sign in to comment.