File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,9 @@ phases:
47
47
48
48
# spark integration tests
49
49
- cd $CODEBUILD_SRC_DIR/sagemaker-spark-sdk
50
+ - HAS_MATCHING_CHANGES_OUTPUT=$(has-matching-changes "src/" "test/" "build.sbt")
50
51
- |
51
- if has-matching-changes "src/" "test/" "build.sbt" ; then
52
+ if [ "$HAS_MATCHING_CHANGES" = "Changes Found" ] ; then
52
53
cd $CODEBUILD_SRC_DIR/integration-tests/sagemaker-spark-sdk
53
54
sbt -Dsbt.log.noformat=true it:test
54
55
else
@@ -57,8 +58,9 @@ phases:
57
58
58
59
# pyspark integration tests
59
60
- cd $CODEBUILD_SRC_DIR/sagemaker-pyspark-sdk
61
+ - HAS_MATCHING_CHANGES_OUTPUT=$(has-matching-changes "src/" "tests/" "setup.*" "requirements.txt" "tox.ini)
60
62
- |
61
- if has-matching-changes "src/" "tests/" "setup.*" "requirements.txt" "tox.ini" ; then
63
+ if [ "$HAS_MATCHING_CHANGES" = "Changes Found" ] ; then
62
64
IGNORE_COVERAGE=- \
63
65
tox -e py36 -- $CODEBUILD_SRC_DIR/integration-tests/sagemaker-pyspark-sdk/tests/ -n 10 --boxed --reruns 2
64
66
else
You can’t perform that action at this time.
0 commit comments