From 5337dedadf163cc46ecbc46134edab26f908a1d3 Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Wed, 10 May 2023 04:57:24 +0900 Subject: [PATCH] CI using exclude --- .github/workflows/ci.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 45a21e35b..cfbf43989 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,15 +16,6 @@ concurrency: env: CARGO_ARGS: --no-default-features --features stdlib,zlib,importlib,encodings,ssl,jit - NON_WASM_PACKAGES: >- - -p rustpython-common - -p rustpython-compiler - -p rustpython-codegen - -p rustpython-vm - -p rustpython-stdlib - -p rustpython-jit - -p rustpython-derive - -p rustpython PLATFORM_INDEPENDENT_TESTS: >- test_argparse test_array @@ -126,14 +117,14 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: run clippy - run: cargo clippy ${{ env.CARGO_ARGS }} ${{ env.NON_WASM_PACKAGES }} -- -Dwarnings + run: cargo clippy ${{ env.CARGO_ARGS }} --workspace --exclude rustpython_wasm -- -Dwarnings - name: run rust tests - run: cargo test --workspace --exclude rustpython_wasm --verbose --features threading ${{ env.CARGO_ARGS }} ${{ env.NON_WASM_PACKAGES }} + run: cargo test --workspace --exclude rustpython_wasm --verbose --features threading ${{ env.CARGO_ARGS }} if: runner.os != 'macOS' # temp skip ssl linking for Mac to avoid CI failure - name: run rust tests (MacOS no ssl) - run: cargo test --workspace --exclude rustpython_wasm --verbose --no-default-features --features threading,stdlib,zlib,importlib,encodings,jit ${{ env.NON_WASM_PACKAGES }} + run: cargo test --workspace --exclude rustpython_wasm --verbose --no-default-features --features threading,stdlib,zlib,importlib,encodings,jit if: runner.os == 'macOS' - name: check compilation without threading