File tree 4 files changed +10
-2
lines changed
4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ jobs:
124
124
done
125
125
126
126
- name : Run clippy
127
- run : ${{ matrix.cargo }} clippy --all-targets --all-features -- target ${{ matrix.target }} -- -D warnings
127
+ run : ${{ matrix.cargo }} clippy --all-targets --target ${{ matrix.target }} -- -D warnings
128
128
129
129
- name : Install npcap on Windows
130
130
# PRs from other repositories cannot be trusted with repository secrets
@@ -145,7 +145,7 @@ jobs:
145
145
env :
146
146
# make insta generate new snapshots in CI
147
147
INSTA_UPDATE : new
148
- run : ${{ matrix.cargo }} test --all-targets --all-features -- target ${{ matrix.target }}
148
+ run : ${{ matrix.cargo }} test --all-targets --target ${{ matrix.target }}
149
149
150
150
- name : Upload snapshots of failed tests
151
151
if : ${{ failure() && steps.run_tests.outcome == 'failure' }}
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ repository = "https://github.com/imsnif/bandwhich"
20
20
rust-version = " 1.74.0"
21
21
description = " Display current network utilization by process, connection and remote IP/hostname"
22
22
23
+ [features ]
24
+ default = []
25
+ # UI tests temporarily disabled by default, until big refactor is done
26
+ ui_test = []
27
+
23
28
[dependencies ]
24
29
anyhow = { version = " 1.0.82" , features = [" backtrace" ] }
25
30
async-trait = " 0.1.80"
Original file line number Diff line number Diff line change 1
1
pub mod raw_mode;
2
2
pub mod test_utils;
3
+ #[ cfg( feature = "ui_test" ) ]
3
4
pub mod ui;
Original file line number Diff line number Diff line change
1
+ #![ cfg_attr( not( feature = "ui_test" ) , allow( dead_code) ) ]
2
+
1
3
use std:: {
2
4
collections:: HashMap ,
3
5
io:: Write ,
You can’t perform that action at this time.
0 commit comments