From 5a715c3d66e27dc9f9abd37c2dcaac432dbf942a Mon Sep 17 00:00:00 2001 From: ChanTsune <41658782+ChanTsune@users.noreply.github.com> Date: Sun, 15 Dec 2024 11:29:49 +0900 Subject: [PATCH] :construction_worker: Apply `--nocapture` option to wasm test for show error trace --- .github/workflows/webassembly.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/webassembly.yml b/.github/workflows/webassembly.yml index cf395acb..5f5d1d7f 100644 --- a/.github/workflows/webassembly.yml +++ b/.github/workflows/webassembly.yml @@ -44,7 +44,7 @@ jobs: - if: ${{ startsWith(matrix.target, 'wasm32-wasi') }} name: Run test run: | - cargo test -p libpna --target ${{ matrix.target }} + cargo test -p libpna --target ${{ matrix.target }} -- --nocapture - if: ${{ startsWith(matrix.target, 'wasm32-unknown-emscripten') }} name: Run test run: | @@ -65,7 +65,7 @@ jobs: run: | cargo binstall --no-confirm --force wasm-bindgen-cli --version ${{ steps.get_version.outputs.version }} - if: ${{ endsWith(matrix.target, 'unknown') }} - name: Run build + name: Run test run: | cargo test -p libpna --target ${{ matrix.target }} --release