Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 06b87dd

Browse files
authored
Update run-docs
Add ability to run on docs/multimodal.md
1 parent eb030ac commit 06b87dd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.ci/scripts/run-docs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,23 @@ if [ "$1" == "evaluation" ]; then
9191
echo "*******************************************"
9292
bash -x ./run-evaluation.sh
9393
fi
94+
95+
if [ "$1" == "multimodal" ]; then
96+
97+
# Expecting that this might fail this test as-is, because
98+
# it's the first on-pr test depending on githib secrets for access with HF token access
99+
100+
echo "::group::Create script to run multimodal"
101+
python3 torchchat/utils/scripts/updown.py --file docs/multimodal.md > ./run-multimodal.sh
102+
# for good measure, if something happened to updown processor,
103+
# and it did not error out, fail with an exit 1
104+
echo "exit 1" >> ./run-multimodal.sh
105+
echo "::endgroup::"
106+
107+
echo "::group::Run multimodal"
108+
echo "*******************************************"
109+
cat ./run-multimodal.sh
110+
echo "*******************************************"
111+
bash -x ./run-multimodal.sh
112+
echo "::endgroup::"
113+
fi

0 commit comments

Comments
 (0)