Skip to content

Commit 2d67ff5

Browse files
authored
restore notebook test (#736)
1 parent 6dba10d commit 2d67ff5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

buildspec.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@ phases:
2121

2222
# run notebook test
2323
- |
24-
# Temporarily disable notebook tests until we know what is wrong
25-
if false; then
26-
#if has-matching-changes "src/*.py" "setup.py" "setup.cfg"; then
24+
if has-matching-changes "src/*.py" "setup.py" "setup.cfg"; then
2725
echo "running notebook test"
2826
python setup.py sdist
29-
aws s3 --region us-west-2 cp ./dist/sagemaker-*.tar.gz s3://sagemaker-python-sdk-pr/
27+
aws s3 --region us-west-2 cp ./dist/sagemaker-*.tar.gz s3://sagemaker-python-sdk-pr/sagemaker.tar.gz
3028
aws s3 cp s3://sagemaker-mead-cli/mead-nb-test.tar.gz mead-nb-test.tar.gz
3129
tar -xzf mead-nb-test.tar.gz
3230
git clone --depth 1 https://github.com/awslabs/amazon-sagemaker-examples.git
@@ -47,7 +45,8 @@ phases:
4745
# run integration tests
4846
- |
4947
if has-matching-changes "tests/" "src/*.py" "setup.py" "setup.cfg"; then
50-
IGNORE_COVERAGE=- tox -e py27,py36 -- tests/integ -n 24 --boxed --reruns 2
48+
IGNORE_COVERAGE=- tox -e py36 -- tests/integ -n 24 --boxed --reruns 2
49+
IGNORE_COVERAGE=- tox -e py27 -- tests/integ -n 24 --boxed --reruns 2
5150
else
5251
echo "skipping integration tests"
5352
fi

0 commit comments

Comments
 (0)