Skip to content

Commit 0e7b5d4

Browse files
Move windows check inside test
1 parent 87230b5 commit 0e7b5d4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ jobs:
158158
run: ls -R .
159159
shell: bash
160160
- name: Test bindings
161-
if: runner.os != 'Windows'
162161
run: yarn test
163162
test-linux-binding:
164163
name: Test ${{ matrix.target }} - node@${{ matrix.node }}

__test__/index.spec.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ test('smoke test', async (t) => {
2020
return
2121
}
2222

23+
// Skip test after client creation on Windows
24+
// Note all Windows return win32 including 64 bit
25+
if (process.platform === 'win32') {
26+
t.pass('Skipping end-to-end test on Windows')
27+
return
28+
}
29+
2330
// Count initial deployments
2431
let start_deployments_count = (await client.listDeployments()).length
2532

0 commit comments

Comments
 (0)