Skip to content

Commit 9887a80

Browse files
committed
Run tests/clippy on all non-wasm packages.
1 parent 935085b commit 9887a80

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ name: CI
77

88
env:
99
CARGO_ARGS: --features "ssl jit"
10+
NON_WASM_PACKAGES: >
11+
-p rustpython-bytecode
12+
-p rustpython-common
13+
-p rustpython-compiler
14+
-p rustpython-parser
15+
-p rustpython-vm
16+
-p rustpython-jit
17+
-p rustpython-derive
18+
-p rustpython
1019
1120
jobs:
1221
rust_tests:
@@ -38,7 +47,7 @@ jobs:
3847
uses: actions-rs/cargo@v1
3948
with:
4049
command: test
41-
args: --verbose ${{ env.CARGO_ARGS }}
50+
args: --verbose ${{ env.CARGO_ARGS }} ${{ env.NON_WASM_PACKAGES }}
4251
- name: check compilation without threading
4352
uses: actions-rs/cargo@v1
4453
with:
@@ -124,7 +133,7 @@ jobs:
124133
uses: actions-rs/cargo@v1
125134
with:
126135
command: clippy
127-
args: ${{ env.CARGO_ARGS }} -- -Dwarnings
136+
args: ${{ env.CARGO_ARGS }} ${{ env.NON_WASM_PACKAGES }} -- -Dwarnings
128137
- name: run clippy on wasm
129138
uses: actions-rs/cargo@v1
130139
with:

0 commit comments

Comments
 (0)