Skip to content

Commit c1334b8

Browse files
committed
feat: switch to zsh
1 parent e1c52cb commit c1334b8

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/run-all-unit-tests.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,18 @@ jobs:
3131
run: loginctl enable-linger $(whoami)
3232

3333
- run: npm ci
34-
- run: npx tsx scripts/cleanup-github-actions.ts
34+
35+
- name: Run tests
36+
if: runner.os == 'Linux'
37+
run: npx tsx scripts/cleanup-github-actions.ts
3538

3639
# - name: Setup tmate session
3740
# uses: mxschmitt/action-tmate@v3
3841

39-
- run: npm run test -- ./test --no-file-parallelism --silent=passed-only
42+
- name: Run tests (macOS - zsh login shell)
43+
if: runner.os == 'macOS'
44+
run: zsh -l -c 'npm run test -- ./test/shell --no-file-parallelism --silent=passed-only'
45+
46+
- name: Run tests (Linux)
47+
if: runner.os == 'Linux'
48+
run: npm run test -- ./test --no-file-parallelism --silent=passed-only

0 commit comments

Comments
 (0)