Skip to content

Commit 19902fb

Browse files
authored
ci: add 3-minute timeout to test steps (#759)
1 parent 880d861 commit 19902fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
- uses: ./.github/actions/pnpm
4646
- run: cargo check --all-features --locked
4747
- run: just test
48+
timeout-minutes: 3
4849

4950
lint:
5051
name: Lint
@@ -79,6 +80,7 @@ jobs:
7980

8081
- name: Test
8182
run: cargo test --target wasm32-wasip1 --profile wasm-test -- --nocapture
83+
timeout-minutes: 3
8284
env:
8385
CARGO_TARGET_WASM32_WASIP1_RUNNER: "wasmtime run -W bulk-memory=y --dir ${{ github.workspace }}::/ --"
8486

@@ -119,11 +121,13 @@ jobs:
119121
120122
- name: Test
121123
run: pnpm run test
124+
timeout-minutes: 3
122125
env:
123126
WASI_TEST: 1
124127

125128
- name: Cargo Test
126129
run: cargo test --target wasm32-wasip1-threads --profile wasm-test -- --nocapture
130+
timeout-minutes: 3
127131
env:
128132
CARGO_TARGET_WASM32_WASIP1_THREADS_RUNNER: "wasmtime run -W bulk-memory=y -W threads=y -S threads=y --dir ${{ github.workspace }}::/ --"
129133

0 commit comments

Comments
 (0)