-
Notifications
You must be signed in to change notification settings - Fork 68
38 lines (31 loc) · 959 Bytes
/
Copy pathwindows-tests.yml
File metadata and controls
38 lines (31 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Windows Bun Tests
on:
pull_request:
push:
branches: [main]
jobs:
windows-tests:
runs-on: windows-latest
if: "${{ github.event_name != 'pull_request' || github.event.pull_request.title != 'chore: bump version' }}"
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.1
- name: Cache Bun install cache
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run Windows-only tests
shell: bash
run: |
shopt -s globstar
bun run scripts/run-tests-with-retry.ts --timeout 30000 tests/windows/**/*.test.ts