From 5f6829b9a83552ace2fd56d78644a52fe0a00246 Mon Sep 17 00:00:00 2001 From: Samuel Burnham <45365069+samuelburnham@users.noreply.github.com> Date: Thu, 10 Oct 2024 10:36:29 +0100 Subject: [PATCH] Test matrix inputs --- .github/workflows/matrix-input.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/matrix-input.yml diff --git a/.github/workflows/matrix-input.yml b/.github/workflows/matrix-input.yml new file mode 100644 index 00000000..174b136c --- /dev/null +++ b/.github/workflows/matrix-input.yml @@ -0,0 +1,22 @@ +name: Light client benchmark + +on: + workflow_dispatch: + inputs: + light-clients: + description: 'Light clients to benchmark, e.g. `aptos,ethereum`' + type: string + required: true + +jobs: + benchmark: + name: Light client benchmark + runs-on: ubuntu-latest + strategy: + matrix: + fail-fast: false + package: ${{ fromJSON(${{ inputs.light-clients }}) }} + steps: + name: Echo input + run: | + echo "Package: ${{ matrix.package }}"