Skip to content

Commit ca80097

Browse files
ci.sh: Add tests for tracking dependencies' 'test-next' branch
parsec-tool depends on several repositories under the parallaxsecond organization. * Add a flag option (--test-next-branch-tracking) in ci.sh to track the 'test-next' branches of said repositories and test parsec-tool with those updates. Signed-off-by: Tomás González <[email protected]>
1 parent 6fa0f5c commit ca80097

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/ci.sh

+11
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ export RUST_LOG=error
1818
# Get Parameters #
1919
##################
2020
MISMATCHER=
21+
TEST_NEXT_BRANCH_TRACKING=
2122
while [ "$#" -gt 0 ]; do
2223
case "$1" in
2324
mismatcher )
2425
MISMATCHER="True"
2526
;;
27+
--test-next-branch-tracking )
28+
TEST_NEXT_BRANCH_TRACKING="True"
29+
;;
2630
*)
2731
error_msg "Unknown argument: $1"
2832
;;
@@ -42,6 +46,13 @@ if [ "$MISMATCHER" = "True" ]; then
4246
exit 0
4347
fi
4448

49+
#########################
50+
# Next branch tracking #
51+
#########################
52+
if [ "$TEST_NEXT_BRANCH_TRACKING" ]; then
53+
echo "Track next branches for parallaxsecond repositories"
54+
python3 $(pwd)/parsec/utils/release_tracking.py $(pwd)/Cargo.toml
55+
fi
4556
#########
4657
# Build #
4758
#########

0 commit comments

Comments
 (0)