File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Rust tests
3+
4+ on :
5+ pull_request :
6+ push :
7+
8+ jobs :
9+ rust_tests :
10+ name : Rust checks
11+ runs-on : ubuntu-24.04
12+ steps :
13+ - name : Clone repository
14+ uses : actions/checkout@v4
15+ - name : setup rust toolchain
16+ uses : dtolnay/rust-toolchain@1.92
17+ with :
18+ components : clippy,rustfmt
19+ - name : install cargo-hack
20+ uses : taiki-e/install-action@cargo-hack
21+ - run : cargo hack clippy --all-targets --feature-powerset --group-features hf,stt --no-deps -- -Dclippy::pedantic
22+ - run : cargo hack test --all-targets --feature-powerset --group-features hf,stt
Original file line number Diff line number Diff line change 1+ #[ allow( clippy:: doc_markdown) ]
12pub mod built_info {
23 include ! ( concat!( env!( "OUT_DIR" ) , "/built.rs" ) ) ;
34}
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ mod tests {
1111 use wis_rs:: { router:: router, state:: State } ;
1212
1313 #[ cfg( feature = "stt" ) ]
14+ #[ ignore = "test requires STT model" ]
1415 #[ tokio:: test]
1516 async fn test_router_api_willow_post ( ) {
1617 const TESTDATA_FILE : & str = "tests/assets/whats_the_time.pcm" ;
You can’t perform that action at this time.
0 commit comments