Skip to content

Commit 8ebfca1

Browse files
committed
Add test filters field to dispatch e2e workflow
1 parent e804454 commit 8ebfca1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/desktop-e2e.yml

+8
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ on:
2020
default: ''
2121
required: false
2222
type: string
23+
tests:
24+
description: "Tests to run (defaults to all if empty)"
25+
default: ''
26+
required: false
27+
type: string
2328
jobs:
2429
prepare-matrices:
2530
name: Prepare virtual machines
@@ -151,6 +156,7 @@ jobs:
151156
shell: bash -ieo pipefail {0}
152157
run: |
153158
git fetch --tags --force
159+
export TEST_FILTERS="${{ github.event.inputs.tests }}"
154160
./test/scripts/ci-runtests.sh ${{ matrix.os }}
155161
- uses: actions/upload-artifact@v3
156162
if: '!cancelled()'
@@ -226,6 +232,7 @@ jobs:
226232
shell: bash -ieo pipefail {0}
227233
run: |
228234
git fetch --tags --force
235+
export TEST_FILTERS="${{ github.event.inputs.tests }}"
229236
./test/scripts/ci-runtests.sh ${{ matrix.os }}
230237
- uses: actions/upload-artifact@v3
231238
if: '!cancelled()'
@@ -297,6 +304,7 @@ jobs:
297304
shell: bash -ieo pipefail {0}
298305
run: |
299306
git fetch --tags --force
307+
export TEST_FILTERS="${{ github.event.inputs.tests }}"
300308
./test/scripts/ci-runtests.sh ${{ matrix.os }}
301309
- uses: actions/upload-artifact@v3
302310
if: '!cancelled()'

0 commit comments

Comments
 (0)