File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,16 @@ jobs:
30
30
with :
31
31
crate : cargo-all-features
32
32
- run : cargo test-all-features --release -- --include-ignored
33
+ if : github.event_name != 'pull_request'
33
34
env :
34
35
RUST_BACKTRACE : 1
35
36
RUST_TEST_THREADS : 1
36
37
TG_BOT_KEY : ${{ secrets.TG_BOT_KEY }}
38
+ - run : cargo test-all-features --release
39
+ if : github.event_name == 'pull_request'
40
+ env :
41
+ RUST_BACKTRACE : 1
42
+ RUST_TEST_THREADS : 1
37
43
38
44
test :
39
45
strategy :
@@ -69,10 +75,16 @@ jobs:
69
75
target
70
76
key : " ${{runner.os}} Rust ${{steps.rust-toolchain.outputs.cachekey}} Lock ${{hashFiles('Cargo.lock')}}"
71
77
- run : cargo test --no-default-features --features ffmpeg,log -- --include-ignored
78
+ if : github.event_name != 'pull_request'
72
79
env :
73
80
RUST_BACKTRACE : 1
74
81
RUST_TEST_THREADS : 1
75
82
TG_BOT_KEY : ${{ secrets.TG_BOT_KEY }}
83
+ - run : cargo test --no-default-features --features ffmpeg,log
84
+ if : github.event_name == 'pull_request'
85
+ env :
86
+ RUST_BACKTRACE : 1
87
+ RUST_TEST_THREADS : 1
76
88
77
89
rustfmt :
78
90
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments