Skip to content

Commit

Permalink
More Clippy in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Dec 5, 2024
1 parent 37969ff commit 14ff49a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@ jobs:
- name: Fetch dependencies
run: cargo fetch
- name: Run clippy
run: cargo clippy --all --all-targets
run: cargo clippy --all --all-targets --target-dir=target
- name: Run clippy on integration tests
run: cargo clippy --all --all-targets --features=integration_test --target-dir=target
- name: Run clippy on C API
run: cargo clippy --all-targets --manifest-path=c-api/Cargo.toml --target-dir=target
- name: Run clippy on JS API
run: cargo clippy --all-targets --manifest-path=js-api/Cargo.toml --target-dir=target

test:
name: Test
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
set -e

echo "=== Running library tests... ==="
cargo clippy --features=integration_test --all-targets -- -Dwarnings
cargo test --features=integration_test "$@"

echo "=== Running C API tests... ==="
Expand Down

0 comments on commit 14ff49a

Please sign in to comment.