Skip to content

Commit 5337ded

Browse files
committed
CI using exclude
1 parent f1b261b commit 5337ded

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

Diff for: .github/workflows/ci.yaml

+3-12
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@ concurrency:
1616

1717
env:
1818
CARGO_ARGS: --no-default-features --features stdlib,zlib,importlib,encodings,ssl,jit
19-
NON_WASM_PACKAGES: >-
20-
-p rustpython-common
21-
-p rustpython-compiler
22-
-p rustpython-codegen
23-
-p rustpython-vm
24-
-p rustpython-stdlib
25-
-p rustpython-jit
26-
-p rustpython-derive
27-
-p rustpython
2819
PLATFORM_INDEPENDENT_TESTS: >-
2920
test_argparse
3021
test_array
@@ -126,14 +117,14 @@ jobs:
126117
- uses: Swatinem/rust-cache@v2
127118

128119
- name: run clippy
129-
run: cargo clippy ${{ env.CARGO_ARGS }} ${{ env.NON_WASM_PACKAGES }} -- -Dwarnings
120+
run: cargo clippy ${{ env.CARGO_ARGS }} --workspace --exclude rustpython_wasm -- -Dwarnings
130121

131122
- name: run rust tests
132-
run: cargo test --workspace --exclude rustpython_wasm --verbose --features threading ${{ env.CARGO_ARGS }} ${{ env.NON_WASM_PACKAGES }}
123+
run: cargo test --workspace --exclude rustpython_wasm --verbose --features threading ${{ env.CARGO_ARGS }}
133124
if: runner.os != 'macOS'
134125
# temp skip ssl linking for Mac to avoid CI failure
135126
- name: run rust tests (MacOS no ssl)
136-
run: cargo test --workspace --exclude rustpython_wasm --verbose --no-default-features --features threading,stdlib,zlib,importlib,encodings,jit ${{ env.NON_WASM_PACKAGES }}
127+
run: cargo test --workspace --exclude rustpython_wasm --verbose --no-default-features --features threading,stdlib,zlib,importlib,encodings,jit
137128
if: runner.os == 'macOS'
138129

139130
- name: check compilation without threading

0 commit comments

Comments
 (0)