Skip to content

Commit 36c3530

Browse files
Update rust.yml
1 parent 1bb4f63 commit 36c3530

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/rust.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,17 @@ jobs:
7575
~/.cargo/registry
7676
target
7777
key: "${{runner.os}} Rust ${{steps.rust-toolchain.outputs.cachekey}} Lock ${{hashFiles('Cargo.lock')}}"
78-
- run: cargo test --no-default-features --features ffmpeg,log -- --include-ignored
78+
- name: install cargo-all-features
79+
uses: baptiste0928/cargo-install@v2
80+
with:
81+
crate: cargo-all-features
82+
- run: cargo test-all-features-- --include-ignored
7983
if: github.event_name != 'pull_request'
8084
env:
8185
RUST_BACKTRACE: 1
8286
RUST_TEST_THREADS: 1
8387
TG_BOT_KEY: ${{ secrets.TG_BOT_KEY }}
84-
- run: cargo test --no-default-features --features ffmpeg,log
88+
- run: cargo test-all-features
8589
if: github.event_name == 'pull_request'
8690
env:
8791
RUST_BACKTRACE: 1

0 commit comments

Comments
 (0)