File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
- .PHONY : build test-fast test-all clippy format checks pipeline
1
+ .PHONY : build test-fast run-test-servers test-all clippy format checks pipeline
2
2
3
- build :
3
+ build :
4
4
@cargo build --verbose --all-features
5
5
6
6
keys :
9
9
test-fast : keys
10
10
@cargo test --verbose --package rust_socketio --lib -- engineio::packet && cargo test --verbose --package rust_socketio --lib -- socketio::packet
11
11
12
- test-all : keys
12
+ run-test-servers :
13
+ cd ci && docker build -t test_suite:latest . && cd ..
14
+ docker run -d -p 4200:4200 -p 4201:4201 -p 4202:4202 -p 4203:4203 -p 4204:4204 -p 4205:4205 -p 4206:4206 --name socketio_test test_suite:latest
15
+
16
+ test-all : keys run-test-servers
13
17
@cargo test --verbose --all-features
18
+ docker stop socketio_test
14
19
15
20
clippy :
16
21
@cargo clippy --verbose --all-features
You can’t perform that action at this time.
0 commit comments