Skip to content

Commit 5e6ef7d

Browse files
committed
fix checks guarding notebook and integration tests
1 parent d030b13 commit 5e6ef7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildspec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ phases:
2121

2222
# run notebook test
2323
- |
24-
if has-matching-changes "tests/" "src/*.py" "docker/*/Dockerfile"; then
24+
if has-matching-changes "src/*.py" "setup.py" "setup.cfg"; then
2525
echo "running notebook test"
2626
python setup.py sdist
2727
aws s3 --region us-west-2 cp ./dist/sagemaker-*.tar.gz s3://sagemaker-python-sdk-pr/
@@ -44,7 +44,7 @@ phases:
4444
4545
# run integration tests
4646
- |
47-
if has-matching-changes "tests/" "src/*.py" "docker/*/Dockerfile"; then
47+
if has-matching-changes "tests/" "src/*.py" "setup.py" "setup.cfg"; then
4848
IGNORE_COVERAGE=- tox -e py27,py36 -- -n 24 --boxed tests/integ
4949
else
5050
echo "skipping integration tests"

0 commit comments

Comments
 (0)