diff --git a/.github/actions/plan/plan.js b/.github/actions/plan/plan.js index 3c8c4c3..f6db51a 100644 --- a/.github/actions/plan/plan.js +++ b/.github/actions/plan/plan.js @@ -63,6 +63,7 @@ const codeModes = { cargoCommand: "test", cargoArgs: "--workspace", cargoCacheKey: "test", + needsEchoServer: true, }, test_wasm: { name: "test (wasm)", @@ -70,6 +71,7 @@ const codeModes = { cargoArgs: "--workspace --target wasm32-unknown-unknown", platformIndependent: true, cargoCacheKey: "test-wasm", + needsEchoServer: true, }, build: { name: "build", diff --git a/.github/workflows/code.yml b/.github/workflows/code.yml index f15620b..94b0459 100644 --- a/.github/workflows/code.yml +++ b/.github/workflows/code.yml @@ -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: