File tree Expand file tree Collapse file tree 4 files changed +12
-16
lines changed
pulsebeam-runtime/src/net Expand file tree Collapse file tree 4 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14-
1514 runs-on : ubuntu-latest
16-
1715 steps :
1816 - uses : actions/checkout@v5
1917 - run : sudo apt-get install -y protobuf-compiler clang nasm pkg-config
20- - name : Build
21- run : cargo build --verbose
2218 - name : Run tests
23- run : cargo test --verbose
19+ run : make test-all
2420 - name : Run simulation tests
25- run : cargo test -p pulsebeam-simulator
21+ run : make test-sim
Original file line number Diff line number Diff line change @@ -60,10 +60,3 @@ members = [
6060 " pulsebeam-runtime" ,
6161 " pulsebeam-simulator" ,
6262]
63-
64- # default-members = [
65- # "pulsebeam",
66- # "pulsebeam-agent",
67- # "pulsebeam-cli",
68- # "pulsebeam-runtime",
69- # ]
Original file line number Diff line number Diff line change 2121 $(CARGO_CMD ) run -p pulsebeam -- --dev
2222
2323build :
24- $(CARGO_CMD ) build --profile profiling -p pulsebeam
24+ $(CARGO_CMD ) build
2525
2626release :
2727 $(CARGO_CMD ) build --verbose --release -p pulsebeam
2828
29- profile : build
29+ profile :
30+ $(CARGO_CMD ) build --profile profiling -p pulsebeam
31+
32+ test-all :
33+ cargo test --workspace --exclude pulsebeam-simulator
34+
35+ test-sim :
36+ cargo test -p pulsebeam-simulator
3037
3138flamegraph : profile
3239 taskset -c 2-5 $(CARGO_CMD ) flamegraph --profile profiling -p pulsebeam --bin pulsebeam
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ fn handle_new_connection(
317317 } ) ;
318318}
319319
320- #[ cfg( test) ]
320+ #[ cfg( all ( test, not ( feature = "sim" ) ) ) ]
321321mod tests {
322322 use super :: * ;
323323 use std:: time:: Duration ;
You can’t perform that action at this time.
0 commit comments