Skip to content

Commit

Permalink
[CI] Fix error guard that was missed in VTA.
Browse files Browse the repository at this point in the history
This PR fixes an error guard during the documentation build step.

- Temporary disables VTA frontend tutorial due to
  the regression of deploy_detection
  • Loading branch information
tqchen committed Sep 2, 2020
1 parent 4fc320a commit 6d0fb00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
'../tutorials/topi',
'../tutorials/deployment',
'../tutorials/micro',
'../vta/tutorials/frontend',
# '../vta/tutorials/frontend',
'../vta/tutorials/optimize',
'../vta/tutorials/autotvm'])

Expand Down
3 changes: 2 additions & 1 deletion tests/scripts/task_python_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

set -e
set -u
set -o pipefail

source tests/scripts/setup-pytest-env.sh

Expand Down Expand Up @@ -48,7 +49,7 @@ make cython3

cd docs
PYTHONPATH=`pwd`/../python make html |& tee /tmp/$$.log.txt
if grep -E "failed to execute" < /tmp/$$.log.txt; then
if grep -E "failed to execute|Segmentation fault" < /tmp/$$.log.txt; then
echo "Some of sphinx-gallery item example failed to execute."
exit 1
fi
Expand Down
4 changes: 0 additions & 4 deletions vta/tutorials/frontend/README.txt

This file was deleted.

0 comments on commit 6d0fb00

Please sign in to comment.