Skip to content

Commit

Permalink
Increase timeout, parametrize Python version in Jupyter tests (#126)
Browse files Browse the repository at this point in the history
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
  • Loading branch information
JanuszL authored and ptrendx committed Aug 21, 2018
1 parent 32bc41d commit b342b0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion qa/L0_jupyter/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ do
# test code
ls *.ipynb | xargs -i jupyter nbconvert \
--to notebook --execute \
--ExecutePreprocessor.kernel_name=python2 \
--ExecutePreprocessor.kernel_name=python${PYVER:0:1} \
--ExecutePreprocessor.timeout=300 \
--output output.ipynb {}
# remove pacakges
Expand Down
6 changes: 3 additions & 3 deletions qa/L1_jupyter_plugins/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ do
# test code
find */* -name "*.ipynb" | xargs -i jupyter nbconvert \
--to notebook --execute \
--ExecutePreprocessor.kernel_name=python2 \
--ExecutePreprocessor.timeout=300 \
--ExecutePreprocessor.kernel_name=python${PYVER:0:1} \
--ExecutePreprocessor.timeout=600 \
--output output.ipynb {}
find */* -name "main.py" | xargs -i python2 {} -t
find */* -name "main.py" | xargs -i python${PYVER:0:1} {} -t

# remove pacakges
remove=$($topdir/qa/setup_packages.py -r -u $pip_packages)
Expand Down

0 comments on commit b342b0a

Please sign in to comment.