Skip to content

Commit 1926eea

Browse files
committed
Follow-up to #848 - fix notebook_validation.py invocation in publishing (#1666)
* Fix notebook_validation.py invocation in publishing * Support receiving multiple targets on single input line
1 parent 1952d51 commit 1926eea

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/publishing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,7 @@ jobs:
880880
done`
881881
882882
rm -rf examples && mv github-repo/docs/sphinx/examples examples
883+
mv github-repo/docs/notebook_validation.py .
883884
GITHUB_STEP_SUMMARY=$GITHUB_STEP_SUMMARY \
884885
bash github-repo/scripts/validate_container.sh $backends_to_test | tee /tmp/validation.out
885886

docs/notebook_validation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
def read_available_backends():
2222
available_backends = sys.stdin.readlines()
23+
available_backends = ' '.join(available_backends).split()
2324
return [backend.strip() for backend in available_backends]
2425

2526

0 commit comments

Comments
 (0)