Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Jul 12, 2023
1 parent 52dc8bf commit 44fed1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
save-if: ${{ github.ref_name == 'main' }}

- name: Run cargo clippy with all features enabled
run: cargo clippy --all-features --lib --bins --examples --test it -- -D warnings
run: cargo clippy --all-targets --all-features -- -D warnings

# Default feature set should compile on the stable toolchain
clippy-stable:
Expand Down
24 changes: 2 additions & 22 deletions polars/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,10 @@ generate_test_files:
cargo run -p polars-cli "select * from read_csv('../examples/datasets/foods1.csv')" -o arrow > ../examples/datasets/foods1.ipc

check:
cargo check --all-features \
-p polars-core \
-p polars-io \
-p polars-lazy \
-p polars-arrow \
-p polars-time \
-p polars-error \
-p polars-ops \
-p polars-sql \
-p polars-json
cargo check --all-targets --all-features

clippy:
cargo clippy --all-features \
-p polars-core \
-p polars-io \
-p polars-lazy \
-p polars-arrow \
-p polars-utils \
-p polars-ops \
-p polars-error \
-p polars-row \
-p polars-time \
-p polars-sql \
-p polars-json
cargo clippy --all-targets --all-features

clippy-default:
cargo clippy
Expand Down

0 comments on commit 44fed1b

Please sign in to comment.