Skip to content

Commit c21fdfc

Browse files
authored
simplify integration tests (#148)
* Replace curl and tar commands with Rust crates * Replace curl with reqwest * Refactor TCP test to use TCP Listener instead of netcat * test: wait until serve is ready * check stderr instead * fix lint errors * Only do check on unix platforms * Move to just a sleep * Improve http test retry mechanism
1 parent 24c64fc commit c21fdfc

File tree

7 files changed

+824
-117
lines changed

7 files changed

+824
-117
lines changed

.github/workflows/test.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
- "CONTRIBUTING.md"
99
workflow_dispatch:
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
1115
env:
1216
CARGO_TERM_COLOR: always
1317
WASI_SDK_VERSION: 20.46gf3a1f8991535

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ examples/cli/cli.wasm
1818
examples/cli/command
1919
examples/sandbox/sandbox
2020
examples/sandbox/sandbox.wasm
21+
wasi-sdk

0 commit comments

Comments
 (0)