Skip to content

Doubao-powered voice input for Linux, Wayland and Omarchy

test(e2e): enable focused Deepgram visual checks

quanru45159a0a6b5f
diff --git a/.github/workflows/midscene-omarchy-4.0.3.yml b/.github/workflows/midscene-omarchy-4.0.3.yml
index 3199b0a..271a0b8 100644
--- a/.github/workflows/midscene-omarchy-4.0.3.yml
+++ b/.github/workflows/midscene-omarchy-4.0.3.yml
@@ -36,6 +36,18 @@ on:
branches: [main]
paths: *e2e-paths
workflow_dispatch:
+ inputs:
+ project:
+ description: Run one Midscene project for focused verification
+ type: choice
+ default: all
+ options:
+ - all
+ - omarchy-shard-1
+ - omarchy-shard-2
+ - omarchy-shard-3
+ - omarchy-shard-4
+ - omarchy-shell
permissions:
contents: read
@@ -57,12 +69,10 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
- project:
- - omarchy-shard-1
- - omarchy-shard-2
- - omarchy-shard-3
- - omarchy-shard-4
- - omarchy-shell
+ project: >-
+ ${{ fromJSON((inputs.project != '' && inputs.project != 'all') &&
+ format('["{0}"]', inputs.project) ||
+ '["omarchy-shard-1","omarchy-shard-2","omarchy-shard-3","omarchy-shard-4","omarchy-shell"]') }}
env:
MIDSCENE_MODEL_API_KEY: ${{ secrets.MIDSCENE_MODEL_API_KEY }}
MIDSCENE_MODEL_NAME: ${{ secrets.MIDSCENE_MODEL_NAME }}
@@ -189,7 +199,9 @@ jobs:
report-bundle:
name: Assemble Midscene report bundle
needs: omarchy-e2e
- if: always() && !cancelled()
+ if: >-
+ always() && !cancelled() &&
+ (inputs.project == '' || inputs.project == 'all')
runs-on: ubuntu-latest
outputs:
report-artifact-id: ${{ steps.report.outputs.artifact-id }}
diff --git a/.github/workflows/midscene-ubuntu-22.04.yml b/.github/workflows/midscene-ubuntu-22.04.yml
index c8ea174..e4789dc 100644
--- a/.github/workflows/midscene-ubuntu-22.04.yml
+++ b/.github/workflows/midscene-ubuntu-22.04.yml
@@ -27,6 +27,18 @@ on:
branches: [main]
paths: *e2e-paths
workflow_dispatch:
+ inputs:
+ project:
+ description: Run one Midscene project for focused verification
+ type: choice
+ default: all
+ options:
+ - all
+ - ubuntu-shard-1
+ - ubuntu-shard-2
+ - ubuntu-shard-3
+ - ubuntu-shard-4
+ - ubuntu-polishing
permissions:
contents: read
@@ -48,12 +60,10 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
- project:
- - ubuntu-shard-1
- - ubuntu-shard-2
- - ubuntu-shard-3
- - ubuntu-shard-4
- - ubuntu-polishing
+ project: >-
+ ${{ fromJSON((inputs.project != '' && inputs.project != 'all') &&
+ format('["{0}"]', inputs.project) ||
+ '["ubuntu-shard-1","ubuntu-shard-2","ubuntu-shard-3","ubuntu-shard-4","ubuntu-polishing"]') }}
env:
MIDSCENE_MODEL_API_KEY: ${{ secrets.MIDSCENE_MODEL_API_KEY }}
MIDSCENE_MODEL_NAME: ${{ secrets.MIDSCENE_MODEL_NAME }}
@@ -179,7 +189,9 @@ jobs:
report-bundle:
name: Assemble Midscene report bundle
needs: ubuntu-e2e
- if: always() && !cancelled()
+ if: >-
+ always() && !cancelled() &&
+ (inputs.project == '' || inputs.project == 'all')
runs-on: ubuntu-latest
outputs:
report-artifact-id: ${{ steps.report.outputs.artifact-id }}
diff --git a/tests/e2e/midscene.config.ts b/tests/e2e/midscene.config.ts
index 7748943..e46e456 100644
--- a/tests/e2e/midscene.config.ts
+++ b/tests/e2e/midscene.config.ts
@@ -197,6 +197,7 @@ const fixtureMode = z.strictObject({
'microphone-gate',
'voice-test',
'volcengine',
+ 'deepgram',
'microphone-change',
'shortcut-capture',
'runtime-delivery',