File tree 1 file changed +19
-1
lines changed
1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 47
47
save-if : false
48
48
49
49
- name : Run all tests
50
- run : cargo test --package "$CRATE" --all-features
50
+ run :
51
+ if [ "$CRATE" = "libp2p-kad" ]; then
52
+ echo "Running tests for libp2p-kad with k-20 (default)"
53
+ cargo test --package libp2p-kad --all-features
54
+
55
+ echo "Running tests for libp2p-kad with k-4"
56
+ cargo test --package libp2p-kad --features serde,k-4
57
+
58
+ echo "Running tests for libp2p-kad with k-8"
59
+ cargo test --package libp2p-kad --features serde,k-8
60
+
61
+ echo "Running tests for libp2p-kad with k-12"
62
+ cargo test --package libp2p-kad --features serde,k-12
63
+
64
+ echo "Running tests for libp2p-kad with k-16"
65
+ cargo test --package libp2p-kad --features serde,k-16
66
+ else
67
+ cargo test --package "$CRATE" --all-features
68
+ fi
51
69
52
70
- name : Check if we compile without any features activated
53
71
run : cargo build --package "$CRATE" --no-default-features
You can’t perform that action at this time.
0 commit comments