summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2024-08-15 13:46:12 +0200
committerDavid Lönnhager <david.l@mullvad.net>2024-08-15 16:33:32 +0200
commit8ebfca1b82654b1c7b44abb21844f033f6505730 (patch)
tree728877a2516c8ace8162b92f76597c050e3a6b01
parente804454a43d4f0f8756f3eacc47f12ef8dba8838 (diff)
downloadmullvadvpn-8ebfca1b82654b1c7b44abb21844f033f6505730.tar.xz
mullvadvpn-8ebfca1b82654b1c7b44abb21844f033f6505730.zip
Add test filters field to dispatch e2e workflow
-rw-r--r--.github/workflows/desktop-e2e.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/desktop-e2e.yml b/.github/workflows/desktop-e2e.yml
index 9fe7a328c9..e1c6595091 100644
--- a/.github/workflows/desktop-e2e.yml
+++ b/.github/workflows/desktop-e2e.yml
@@ -20,6 +20,11 @@ on:
default: ''
required: false
type: string
+ tests:
+ description: "Tests to run (defaults to all if empty)"
+ default: ''
+ required: false
+ type: string
jobs:
prepare-matrices:
name: Prepare virtual machines
@@ -151,6 +156,7 @@ jobs:
shell: bash -ieo pipefail {0}
run: |
git fetch --tags --force
+ export TEST_FILTERS="${{ github.event.inputs.tests }}"
./test/scripts/ci-runtests.sh ${{ matrix.os }}
- uses: actions/upload-artifact@v3
if: '!cancelled()'
@@ -226,6 +232,7 @@ jobs:
shell: bash -ieo pipefail {0}
run: |
git fetch --tags --force
+ export TEST_FILTERS="${{ github.event.inputs.tests }}"
./test/scripts/ci-runtests.sh ${{ matrix.os }}
- uses: actions/upload-artifact@v3
if: '!cancelled()'
@@ -297,6 +304,7 @@ jobs:
shell: bash -ieo pipefail {0}
run: |
git fetch --tags --force
+ export TEST_FILTERS="${{ github.event.inputs.tests }}"
./test/scripts/ci-runtests.sh ${{ matrix.os }}
- uses: actions/upload-artifact@v3
if: '!cancelled()'