librespot/test.sh
yubiuser 102a8fd833
Add cargo clean to test.sh
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-29 22:28:53 +02:00

22 lines
715 B
Bash
Executable file

#!/bin/bash
set -e
# this script runs the tests and checks that also run as part of the`test.yml` github action workflow
cargo clean
cargo fmt --all -- --check
cargo clippy -p librespot-core --no-default-features
cargo clippy -p librespot-core
cargo hack clippy --each-feature -p librespot-discovery
cargo hack clippy --each-feature -p librespot-playback
cargo hack clippy --each-feature
cargo build --workspace --examples
cargo test --workspace
cargo check -p librespot-core --no-default-features
cargo check -p librespot-core
cargo hack check --no-dev-deps --each-feature -p librespot-discovery
cargo hack check --no-dev-deps --each-feature -p librespot-playback
cargo hack check --no-dev-deps --each-feature