Skip to content

Commit

Permalink
no tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CPunisher committed Dec 8, 2024
1 parent b2110e0 commit f90bb92
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,14 +289,14 @@ jobs:
- name: Run cargo test
if: matrix.settings.crate != 'swc_plugin_runner' && 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'
run: |
cargo nextest run -p ${{ matrix.settings.crate }}
cargo nextest run --no-tests=pass -p ${{ matrix.settings.crate }}
cargo test --doc -p ${{ matrix.settings.crate }}
- name: Run cargo test (core)
if: matrix.settings.crate == 'swc_core'
run: |
rustup target add wasm32-unknown-unknown
cargo nextest run -p swc_core --features ecma_quote --features common --features ecma_utils
cargo nextest run --no-tests=pass -p swc_core --features ecma_quote --features common --features ecma_utils
cargo test --doc -p swc_core --features ecma_quote --features common --features ecma_utils
- name: Run cargo test (binding_core_wasm)
Expand All @@ -315,31 +315,31 @@ jobs:
if: matrix.settings.crate == 'swc_plugin_runner'
run: |
# export CARGO_TARGET_DIR=$(pwd)/target
cargo nextest run -p swc_plugin_runner --release --features plugin_transform_schema_v1 --features rkyv-impl --features ecma --features css
cargo nextest run --no-tests=pass -p swc_plugin_runner --release --features plugin_transform_schema_v1 --features rkyv-impl --features ecma --features css
cargo test --doc -p swc_plugin_runner --release --features plugin_transform_schema_v1 --features rkyv-impl --features ecma --features css
- name: Run cargo test (swc_ecma_minifier)
if: matrix.settings.crate == 'swc_ecma_minifier'
run: |
cargo nextest run -p swc_ecma_minifier --features concurrent
cargo nextest run --no-tests=pass -p swc_ecma_minifier --features concurrent
cargo test --doc -p swc_ecma_minifier --features concurrent
- name: Run cargo test (swc_ecma_parser)
if: matrix.settings.crate == 'swc_ecma_parser'
run: |
cargo nextest run -p swc_ecma_parser --features verify
cargo nextest run --no-tests=pass -p swc_ecma_parser --features verify
cargo test --doc -p swc_ecma_parser --features verify
- name: Run cargo test (all features)
if: matrix.settings.crate == 'swc_ecma_parser' || matrix.settings.crate == 'swc_ecma_loader'
run: |
cargo nextest run -p ${{ matrix.settings.crate }} --all-features
cargo nextest run --no-tests=pass -p ${{ matrix.settings.crate }} --all-features
cargo test --doc -p ${{ matrix.settings.crate }} --all-features
- name: Run cargo test (transforms with stacker)
if: matrix.settings.crate == 'swc_ecma_transforms'
run: |
cargo nextest run -p ${{ matrix.settings.crate }} --all-features --features swc_ecma_utils/stacker
cargo nextest run --no-tests=pass -p ${{ matrix.settings.crate }} --all-features --features swc_ecma_utils/stacker
cargo test --doc -p ${{ matrix.settings.crate }} --all-features --features swc_ecma_utils/stacker
- name: Run cargo test (concurrent)
Expand Down

0 comments on commit f90bb92

Please sign in to comment.