Skip to content

Commit

Permalink
ci: Test for unused cargo dependencies
Browse files Browse the repository at this point in the history
Adds test for unused cargo dependencies.

Signed-off-by: Jonathan Woollett-Light <[email protected]>
  • Loading branch information
Jonathan Woollett-Light committed Oct 4, 2023
1 parent ed87016 commit 498b576
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/integration_tests/build/test_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ def test_licenses():
)

cargo("deny", f"--manifest-path {toml_file} check licenses bans")


def test_unused_dependencies():
"""
Test that there are no unused dependencies.
"""
cargo("+nightly udeps --all")

0 comments on commit 498b576

Please sign in to comment.