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
This commit is contained in:
parent
5a337a4b64
commit
5c74bfec3d
|
@ -5,6 +5,10 @@ inputs:
|
||||||
description: "Filter which tests to run out of the created matrix"
|
description: "Filter which tests to run out of the created matrix"
|
||||||
required: false
|
required: false
|
||||||
default: ""
|
default: ""
|
||||||
|
test-ignore:
|
||||||
|
description: "Exclude tests from the created matrix that include this string in their name"
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
extra-versions:
|
extra-versions:
|
||||||
description: "Space-separated paths to JSON files describing additional images"
|
description: "Space-separated paths to JSON files describing additional images"
|
||||||
required: false
|
required: false
|
||||||
|
@ -104,7 +108,8 @@ runs:
|
||||||
WORKER_COUNT: ${{ inputs.worker-count }}
|
WORKER_COUNT: ${{ inputs.worker-count }}
|
||||||
EXTRA_VERSION: ${{ inputs.extra-versions }}
|
EXTRA_VERSION: ${{ inputs.extra-versions }}
|
||||||
NAME_FILTER: ${{ inputs.test-filter }}
|
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
|
shell: bash
|
||||||
|
|
||||||
- name: Print the results
|
- name: Print the results
|
||||||
|
|
Loading…
Reference in New Issue