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 12, 2023
1 parent da8e906 commit 65859ba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 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,12 @@ 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("install cargo-udeps")

cargo("+nightly udeps --all")

0 comments on commit 65859ba

Please sign in to comment.