Skip to content

Commit d5d593f

Browse files
committed
CI: matrix smoke/vault/ao suites
1 parent 592b80d commit d5d593f

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,21 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
desktop-smoke:
11+
desktop-tests:
1212
runs-on: ubuntu-latest
1313
defaults:
1414
run:
1515
working-directory: desktop
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
suite:
20+
- name: smoke
21+
command: npm run test:smoke -- --project=chromium --reporter=line -- tests/smoke.spec.ts
22+
- name: vault
23+
command: npm run test:smoke -- --project=chromium --reporter=line -- tests/vault.spec.ts
24+
- name: ao
25+
command: npm run test:smoke -- --project=chromium --reporter=line -- tests/ao.spec.ts
1626
steps:
1727
- name: Checkout
1828
uses: actions/checkout@v4
@@ -30,8 +40,8 @@ jobs:
3040
- name: Install Playwright (chromium)
3141
run: npx playwright install --with-deps chromium
3242

33-
- name: Smoke tests (chromium)
34-
run: npm run test:smoke -- --project=chromium --reporter=line -- tests/smoke.spec.ts
43+
- name: Run ${{ matrix.suite.name }} tests
44+
run: ${{ matrix.suite.command }}
3545

3646
- name: Upload bundle report (if present)
3747
if: always()

0 commit comments

Comments
 (0)