Skip to content

Commit f39b35b

Browse files
committed
Run tests on powershell and bash
1 parent 9258c71 commit f39b35b

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Verify
1+
name: Verify (Bash)
22

33
on:
44
push:
@@ -28,11 +28,16 @@ jobs:
2828
deno-version: v2.x
2929
- name: reload dependencies
3030
run: deno cache --reload **/mod.ts
31+
shell: bash
3132

3233
- run: deno check tasks/*.ts
34+
shell: bash
3335

3436
- run: deno fmt --check
37+
shell: bash
3538

3639
- run: deno lint
40+
shell: bash
3741

3842
- run: deno test --allow-net --allow-read --allow-write --allow-env --allow-run --allow-ffi
43+
shell: bash

.github/workflows/verify-pwsh.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Verify (PowerShell)
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
test:
16+
runs-on: windows-latest
17+
18+
steps:
19+
- name: checkout
20+
uses: actions/checkout@v4
21+
22+
- name: setup deno
23+
uses: denoland/setup-deno@v2
24+
with:
25+
deno-version: v2.x
26+
- name: reload dependencies
27+
run: deno cache --reload **/mod.ts
28+
shell: pwsh
29+
30+
- run: deno check tasks/*.ts
31+
shell: pwsh
32+
33+
- run: deno fmt --check
34+
shell: pwsh
35+
36+
- run: deno lint
37+
shell: pwsh
38+
39+
- run: deno test --allow-net --allow-read --allow-write --allow-env --allow-run --allow-ffi
40+
shell: pwsh

0 commit comments

Comments
 (0)