Pass --all to cargo test (#8925)

This commit is contained in:
Alex Gaynor 2023-05-14 21:11:24 -04:00 committed by GitHub
parent 7a7aa67abc
commit 24c582a1dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,4 +143,6 @@ def rust(session: nox.Session) -> None:
with session.chdir("src/rust/"):
session.run("cargo", "fmt", "--all", "--", "--check", external=True)
session.run("cargo", "clippy", "--", "-D", "warnings", external=True)
session.run("cargo", "test", "--no-default-features", external=True)
session.run(
"cargo", "test", "--no-default-features", "--all", external=True
)