From 5c74bfec3d7fdd657ca80c60596520733098739b Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Thu, 20 Jul 2023 06:54:46 +0100 Subject: [PATCH] feat: expose name-ignore setting (#239) Exposes `--name-ignore` as `test-ignore` in the ping test github action to be consistent with how `--name-filter` is exposed as `test-filter` Follows on from #225 --- .github/actions/run-interop-ping-test/action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/run-interop-ping-test/action.yml b/.github/actions/run-interop-ping-test/action.yml index 7535890..1e56fb2 100644 --- a/.github/actions/run-interop-ping-test/action.yml +++ b/.github/actions/run-interop-ping-test/action.yml @@ -5,6 +5,10 @@ inputs: description: "Filter which tests to run out of the created matrix" required: false default: "" + test-ignore: + description: "Exclude tests from the created matrix that include this string in their name" + required: false + default: "" extra-versions: description: "Space-separated paths to JSON files describing additional images" required: false @@ -104,7 +108,8 @@ runs: WORKER_COUNT: ${{ inputs.worker-count }} EXTRA_VERSION: ${{ inputs.extra-versions }} NAME_FILTER: ${{ inputs.test-filter }} - run: npm run test -- --extra-version=$EXTRA_VERSION --name-filter=$NAME_FILTER + NAME_IGNORE: ${{ inputs.test-ignore }} + run: npm run test -- --extra-version=$EXTRA_VERSION --name-filter=$NAME_FILTER --name-ignore=$NAME_IGNORE shell: bash - name: Print the results