Skip to content

Commit dc7eb23

Browse files
committed
skip backend bench
1 parent 9b4b9cd commit dc7eb23

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ jobs:
290290
key: swc-exec-cache-${{ matrix.settings.crate }}-${{ hashFiles('**/Cargo.lock') }}
291291

292292
- 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'
294294
run: |
295295
cargo test -p ${{ matrix.settings.crate }}
296296
@@ -311,10 +311,10 @@ jobs:
311311
cargo test --manifest-path ./bindings/swc_cli/Cargo.toml --features plugin
312312
313313
- name: Run cargo test (plugin)
314-
if: matrix.settings.crate == 'swc_plugin_backend_wasmer'
314+
if: matrix.settings.crate == 'swc_plugin_backend_tests'
315315
run: |
316316
# export CARGO_TARGET_DIR=$(pwd)/target
317-
cargo test -p swc_plugin_backend_wasmer --release
317+
cargo test -p swc_plugin_backend_tests --release
318318
319319
- name: Run cargo test (swc_ecma_minifier)
320320
if: matrix.settings.crate == 'swc_ecma_minifier'

scripts/bench/list-crates-with-bench.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
set -eu
44

55
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")]'

0 commit comments

Comments
 (0)