indhub closed pull request #11934: [MXAPPS-581] Straight Dope nightly fixes. URL: https://github.com/apache/incubator-mxnet/pull/11934
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/ci/docker/install/ubuntu_nightly_tests.sh b/ci/docker/install/ubuntu_nightly_tests.sh index df56cf5a980..0e6b437a1d8 100755 --- a/ci/docker/install/ubuntu_nightly_tests.sh +++ b/ci/docker/install/ubuntu_nightly_tests.sh @@ -30,3 +30,8 @@ apt-get -y install time # Install for RAT License Check Nightly Test apt-get install -y subversion maven -y #>/dev/null + +# Packages needed for the Straight Dope Nightly tests. +pip2 install pandas +pip3 install pandas + diff --git a/tests/nightly/straight_dope/test_notebooks_single_gpu.py b/tests/nightly/straight_dope/test_notebooks_single_gpu.py index ee7c94c80af..06ced96c7be 100644 --- a/tests/nightly/straight_dope/test_notebooks_single_gpu.py +++ b/tests/nightly/straight_dope/test_notebooks_single_gpu.py @@ -89,9 +89,8 @@ def test_linear_algebra(self): def test_probability(self): assert _test_notebook('chapter01_crashcourse/probability') - # TODO(vishaalk): Notebook contains the word 'Warning'. Needs to be updated to a synonym. - #def test_autograd(self): - # assert _test_notebook('chapter01_crashcourse/autograd') + def test_autograd(self): + assert _test_notebook('chapter01_crashcourse/autograd') # Chapter 2 @@ -113,9 +112,8 @@ def test_softmax_regression_gluon(self): def test_regularization_scratch(self): assert _test_notebook('chapter02_supervised-learning/regularization-scratch') - # TODO(vishaalk): Notebook does not appear to be JSON: '{\n "cells": [\n {\n "cell_type": "m.... - #def test_regularization_gluon(self): - # assert _test_notebook('chapter02_supervised-learning/regularization-gluon') + def test_regularization_gluon(self): + assert _test_notebook('chapter02_supervised-learning/regularization-gluon') def test_perceptron(self): assert _test_notebook('chapter02_supervised-learning/perceptron') @@ -258,9 +256,8 @@ def test_tree_lstm(self): def test_lds_scratch(self): assert _test_notebook('chapter12_time-series/lds-scratch') - # TODO(vishaalk): File doesn't appear to be valid JSON. - #def test_issm_scratch(self): - # assert _test_notebook('chapter12_time-series/issm-scratch') + def test_issm_scratch(self): + assert _test_notebook('chapter12_time-series/issm-scratch') # Chapter 14 @@ -273,7 +270,7 @@ def test_dcgan(self): def test_generative_adversarial_networks(self): assert _test_notebook('chapter14_generative-adversarial-networks/conditional') - # TODO(vishaalk): Notebook does not appear to be valid JSON. + # TODO(vishaalk): Investigate. #def test_pixel2pixel(self): # assert _test_notebook('chapter14_generative-adversarial-networks/pixel2pixel') ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services