File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ jobs:
290
290
key : swc-exec-cache-${{ matrix.settings.crate }}-${{ hashFiles('**/Cargo.lock') }}
291
291
292
292
- name : Run cargo test
293
- if : matrix.settings.crate != 'swc_plugin_backend_wasmer ' && matrix.settings.crate != 'swc_ecma_parser' && matrix.settings.crate != 'swc_ecma_minifier' && matrix.settings.crate != 'swc_core' && matrix.settings.crate != 'swc_ecma_quote' && matrix.settings.crate != 'swc_cli' && matrix.settings.crate != 'binding_core_wasm'
293
+ if : matrix.settings.crate != 'swc_plugin_backend_tests ' && matrix.settings.crate != 'swc_ecma_parser' && matrix.settings.crate != 'swc_ecma_minifier' && matrix.settings.crate != 'swc_core' && matrix.settings.crate != 'swc_ecma_quote' && matrix.settings.crate != 'swc_cli' && matrix.settings.crate != 'binding_core_wasm'
294
294
run : |
295
295
cargo test -p ${{ matrix.settings.crate }}
296
296
@@ -311,10 +311,10 @@ jobs:
311
311
cargo test --manifest-path ./bindings/swc_cli/Cargo.toml --features plugin
312
312
313
313
- name : Run cargo test (plugin)
314
- if : matrix.settings.crate == 'swc_plugin_backend_wasmer '
314
+ if : matrix.settings.crate == 'swc_plugin_backend_tests '
315
315
run : |
316
316
# export CARGO_TARGET_DIR=$(pwd)/target
317
- cargo test -p swc_plugin_backend_wasmer --release
317
+ cargo test -p swc_plugin_backend_tests --release
318
318
319
319
- name : Run cargo test (swc_ecma_minifier)
320
320
if : matrix.settings.crate == 'swc_ecma_minifier'
Original file line number Diff line number Diff line change 3
3
set -eu
4
4
5
5
WS_CRATES=$( ./scripts/cargo/get-workspace-crates-json.sh)
6
- echo " $WS_CRATES " | jq -r -c ' [.[] | select(.targets[] | .kind | contains(["bench"])) | .name] | sort | unique' | jq -r -c ' [.[] | select(. != "swc_plugin_backend_wasmer " and . != "swc_allocator" and . != "swc")]'
6
+ echo " $WS_CRATES " | jq -r -c ' [.[] | select(.targets[] | .kind | contains(["bench"])) | .name] | sort | unique' | jq -r -c ' [.[] | select(. != "swc_plugin_backend_tests " and . != "swc_allocator" and . != "swc")]'
You can’t perform that action at this time.
0 commit comments