File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 workflow_call :
55 # Make this a reusable workflow, no value needed
66 # https://docs.github.com/en/actions/using-workflows/reusing-workflows
7+ inputs :
8+ scenario :
9+ description : ' Smoke scenario'
10+ type : string
711
812env :
913 TURBO_TELEMETRY_DISABLED : 1
@@ -41,15 +45,17 @@ jobs:
4145 path : e2e/.wdio-vscode-service
4246
4347 - name : 🚂 Run the smoke test
44- run : pnpm run test:smoke
48+ env :
49+ E2E_SCENARIO : ${{ inputs.scenario }}
50+ run : pnpm --filter @vscode-wdio/e2e run test:smoke:${E2E_SCENARIO}
4551 shell : bash
4652
4753 - name : 📦 Upload Test Logs on Failure
4854 uses : ./.github/workflows/actions/upload-archive
4955 if : failure()
5056 with :
51- name : smoke-logs-${{ matrix.os }}
52- output : smoke-logs-${{ matrix.os }}.zip
57+ name : smoke-${{ inputs.scenario }}-- logs-${{ matrix.os }}
58+ output : smoke-${{ inputs.scenario }}- logs-${{ matrix.os }}.zip
5359 paths : e2e/logs
5460
5561 - name : 🐛 Debug Build
Original file line number Diff line number Diff line change 4646 with :
4747 compatibility-mode : ' yes'
4848
49- smoke :
50- name : Smoke
49+ smoke-config :
50+ name : Smoke - Update Config
5151 needs : [lint, build, e2e, compatibility]
5252 uses : ./.github/workflows/ci-smoke.yml
53+ with :
54+ scenario : ' config'
55+
56+ smoke-timeout :
57+ name : Smoke - Worker idle timeout
58+ needs : [lint, build, e2e, compatibility]
59+ uses : ./.github/workflows/ci-smoke.yml
60+ with :
61+ scenario : ' timeout'
Original file line number Diff line number Diff line change 1717 "test:e2e:basic:cucumber" : " cross-env VSCODE_WDIO_E2E_SCENARIO=cucumber xvfb-maybe pnpm run wdio" ,
1818 "test:e2e:workspace" : " cross-env VSCODE_WDIO_E2E_SCENARIO=workspace xvfb-maybe pnpm run wdio" ,
1919 "test:smoke" : " run-s test:smoke:*" ,
20- "test:smoke:update- config" : " cross-env VSCODE_WDIO_E2E_SCENARIO=config xvfb-maybe wdio run ./wdioSmoke.conf.ts" ,
20+ "test:smoke:config" : " cross-env VSCODE_WDIO_E2E_SCENARIO=config xvfb-maybe wdio run ./wdioSmoke.conf.ts" ,
2121 "test:smoke:timeout" : " cross-env VSCODE_WDIO_E2E_SCENARIO=timeout xvfb-maybe wdio run ./wdioSmoke.conf.ts" ,
2222 "wdio" : " wdio run ./wdio.conf.ts"
2323 },
You can’t perform that action at this time.
0 commit comments