Skip to content

Commit

Permalink
Follow-up to #848 - fix notebook_validation.py invocation in publishi…
Browse files Browse the repository at this point in the history
…ng (#1666)

* Fix notebook_validation.py invocation in publishing

* Support receiving multiple targets on single input line
  • Loading branch information
bmhowe23 committed May 13, 2024
1 parent 1952d51 commit 1926eea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@ jobs:
done`
rm -rf examples && mv github-repo/docs/sphinx/examples examples
mv github-repo/docs/notebook_validation.py .
GITHUB_STEP_SUMMARY=$GITHUB_STEP_SUMMARY \
bash github-repo/scripts/validate_container.sh $backends_to_test | tee /tmp/validation.out
Expand Down
1 change: 1 addition & 0 deletions docs/notebook_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

def read_available_backends():
available_backends = sys.stdin.readlines()
available_backends = ' '.join(available_backends).split()
return [backend.strip() for backend in available_backends]


Expand Down

0 comments on commit 1926eea

Please sign in to comment.