mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
Add test.sh to allow to run test suite easily
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
a692b8cccc
commit
b24fb871ae
1 changed files with 22 additions and 0 deletions
22
test.sh
Executable file
22
test.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# this script runs the tests and checks that also run as part of the`test.yml` github action workflow
|
||||
|
||||
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 hack --workspace --remove-dev-deps
|
||||
cargo check -p librespot-core --no-default-features
|
||||
cargo check -p librespot-core
|
||||
cargo hack check --each-feature -p librespot-discovery
|
||||
cargo hack check --each-feature -p librespot-playback
|
||||
cargo hack check --each-feature
|
Loading…
Reference in a new issue