Skip to content

Commit

Permalink
Add echo server tests to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MOZGIII committed Feb 2, 2024
1 parent 6da28ce commit 94f6903
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/plan/plan.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,15 @@ const codeModes = {
cargoCommand: "test",
cargoArgs: "--workspace",
cargoCacheKey: "test",
needsEchoServer: true,
},
test_wasm: {
name: "test (wasm)",
cargoCommand: "test",
cargoArgs: "--workspace --target wasm32-unknown-unknown",
platformIndependent: true,
cargoCacheKey: "test-wasm",
needsEchoServer: true,
},
build: {
name: "build",
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ jobs:
cargo clippy --version
env
- name: Build and run the test echo server
run: cargo run --bin xwt-test-echo-server
if: ${{ matrix.plan.mode.needsEchoServer }}

- name: Run cargo ${{ matrix.plan.mode.cargoCommand }}
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 94f6903

Please sign in to comment.